
Go backward to 2.6 Running the data reduction.
Go up to 2 Getting started.
Go forward to 2.8 Controlling the display.
2.7 Outputting the results.
The results of a wavefront computation can be output as a list of
Zernike terms, a wavefront map, a synthetic image, or a synthetic
interferometer fringe pattern.
The first three of these actions are most easily accessed using the last three
buttons on the lower toolbar. To generate a synthetic fringe pattern you
must use the File :: Save Fringes menu item.
Each of these actions creates a dialog box which allows you to perform
the action of viewing the image, printing the image or saving the image
to a file. All output is passed through the
Edit :: Zernike editor before being displayed, so some care
is needed to make sure this does not cause unexpected results.
The output dialogs all have the following common features:
- Output format
The output format is selectable between FITS (Flexible Image Transport System),
PS, (Postscript), EPS (Encapsulated Postscript), PGM (Portable grey map),
Raw (A dump of the image file contents).
If other output formats are desired, we suggest that the user obtain a
copy of the freely available ghostscript program, which can translate
postscript images into many other image formats.
- Gamma
The gamma value used to translate image values to output values. The
transformation applied is o = i(1)/(gamma) where o is the
output value and i is the input value. This transformation is not
applied to FITS output or Raw output.
- Title
On postscript or printed output only, this title will be placed above the image.
- Directory
Output files will be written to the directory shown here. Sorry there is no
browser mechanism for selecting a new directory yet!
- Output File name
Files are written to a file of this name. The file extension ".FITS", ".PS",
".EPS" or ".PNM" are added to the output file automatically.
- Subtract Zernikes.
Zernikes in this range are subtracted automatically on any output operation.
Typically this is used to remove Zernikes 1 to 4, (piston, tip, tilt, focus),
which are generally of no interest. Other Zernike ranges may be subtracted
if desired. Note that a much more flexible mechanism for editing Zernikes
is provided by the Edit :: Zernike editor dialog.
In the case of printing an image, or saving an image contents as a postscript
file, the position and size of the image can be set from the
Edit :: Page setup dialog. The right mouse button can be used to
drag the image to the required position in the page, the sliders may be used
to change the image size. Note that the output position information
is only used for .ps files or printed documents. When .eps files
are created, the image is always placed at the origin, and only the
image size is read from the page setup. The special treatment of
.eps is based upon the assumption that the main purpose of an
.eps file is be included in another document.

The page setup editor allows control of the format of
printed images.
The main purpose of Edit :: Printer Setup is to allow you to
change the name of your default printer. If you change the printer name
here, the new printer will be used on all subsequent invocations of the
program.
You can also change the printer service here, if you use something other
than the default print spooler for your system. This may be particularly
useful for Solaris users, where there is a choice (lp or lpr) of
print spoolers.
Files to be printed are created in a temporary directory, and deleted
after the print job has been spooled. The temporary directory must be
writable by the the user in order for printing to succeed. If
necessary you may change the location of the temporary directory
in the Edit :: Printer setup dialog.
Laplacian Optics Inc. Email: laplace@laplacian.com
