Starting Tex

Tex is started by typing ``tex'' at the DOS command line prompt. For those of you running UNIX, the program has been renamed texereau to avoid conflicting with the popular text formatting program called ``tex''. If you wish Tex to use a sphere instead of a paraboloid as the reference surface, you can add the ``-s'' option to the command line. To exit Tex, enter q to quit, or hit the interrupt character (such as control-C or BREAK).

Here is the screen you will see when you start running Tex. All the screen shots shown were taken of Tex running on a Linux system. All the graphics shown were produced by Aladdin Ghostscript.


Selecting Units

By default, Tex uses inches. If you wish to use millimeters or centimeters instead, now is the time to do it.Remember that the units must be set before the data is entered, and that all measurements must be in the same units. To select different units of measurement, select u from the menu.

Entering Mirror Data

File or Keyboard

Next, enter the data for your mirror, by selecting d from the main menu. You will be asked whether you wish to enter the information from the keyboard or from a file. The first time, you will enter the information from the keyboard, so select k. After you have entered the information, you can save it in a file, so you don't have to type it in again.

Entering the Numbers

The information I'm entering here is the sample mirror from the book ``How to Make a Telescope'' by jean texereau. The program is named after this author, and its workings closely follow the algorithms and examples found in this book.

The lines from the k on up are from the previous screen. Note that on each line, the default value is shown in square braces ``[ ]''. If you want to use this default value, simply hit ENTER without typing a new value. The following entries are to specify the openings in the Couder mask used to test the mirror. Currently, Tex assumes that the inner radius for each zone is the same as the outer radius for the previous zone. Tex does not currently support direct entry of data for pin sticks. If you use a pin stick instead of a Couder mask, you will have to fabricate Couder mask zone radii such that the midpoint of each mask opening (outer + inner)/2 is the position of the pin for that zone. If you made a mistake, simply answer no to the confirmation at the bottom of the screen, and you will be given a chance to change the values you entered. After yo uenter the mirror data, you may want to save it in a file. To do this, select s from the main menu.

Generating a Couder Mask

Choose option p from the main menu to generate a PostScript file that can be used to print a Couder Mask on your computer's printer. The PostScript code to generate the mask will be saved in a file, by default, couder.ps. This file can be printed on any printer that understands Adobe PostScript. If your printer does not, you can get a free copy of Aladdin's Ghostscript program, which will take the PostScript file and produce output appropriate for whatever printer you do have. Tex asks for the outside diameter of your mirror blank. This will be used to draw the outline of the blank, so the mask can be properly centered on the mirror.

The couder screen will look something like this. Cut out the openings carefully with a razor blade, and trim the edges. For anything but a small mirror, you'll want to take cardboard, cut an opening in it large enough for all the mask openings to show through, and attach the printer paper to the front, so the carboard holds the paper flat and stiff.

The reason for using PostScript for the Couder mask, is that it can adapt the image to the printer ``on-the-fly''. The result is that the mask is printed to an accurate size and scale regardless of the printer or its resolution, and you can print Couder masks up to twice the longest dimension of the printable area of your paper. For 8.5x11'' paper, you can print masks for mirrors of up to about 21''. With U.S. Legal size paper in the printer, you can print masks for mirrors up to about 33''.


Entering Readings

This screen should be self explanatory. Note that the readings don't need to be ``normalized''.

Understanding the Results

After you enter the readings, the mirror data is automatically calculated and saved in the file mirror.txt. If you want to recalculate this data, select c from the main menu. The data shown here mimics that of Texereau's mirror worksheet.

Graphing the Results

Selecting g from the main menu produces a graph of mirror results like that shown below. Under MS-DOS, the graph appears directly on the screen. For other platforms, the graph is saved as a PostScript file, which can be viewed using Ghostview and Ghostscript, from Aladdin.

The top graphs shows the relative surface error of the wavefront in wavelengths of green light. Remember that the surface errors of the mirror are in the same direction, but half as big as the errors shown here. The zone boundaries are marked for reference. This graph is to help decide from what part of the mirror to remove glass, so you can alter your figuring accordingly.

The bottom graph shows the Millies-Lacroix tolerance (marked in cyan). The mirror's aberration is graphed by the bold black line. If the line goes outside the area marked by the cyan lines, it does not meet the requirements for a telescope mirror.

Using the Monte Carlo Algorithm

The Monte Carlo algorithm is designed to reduce the largest source of errors in making a Foucault test - the inaccuracy of the readings. It does this by looking at several sets of readings you've taken, and generating thousands of sets of readings that have the same statistical distribution as your readings, then computing the wavefront error for each of the generated sets of readings and plotting the results. The more consistent your readings are, the higher the probability that they are correct.

You can play with the deviations or number of simulations, but in general the defaults should be correct for your input readings. Since the calculations can take a while, a progress bar is displayed (the line of +). The resulting graph looks like this. It shows that with 80% confidence, the mirror is at least as good as 1/11 wave. Likely values are spread out from 1/16 to 1/19 wave, and it is very likely that the mirror is not as good as 1/23 wave (the red bar at the far right).