NAME

mirror2osac - extract OSAC mirror constants from a mirror output file


SYNOPSIS

mirror2osac options mirror2osac options input file mirror2osac options input file output file


OPTIONS

mirror2osac uses long options. Options may be abbreviated, and the ``='' character shown below in the option templates is optional.

--input=file
If specified, this indicates the name of the input mirror output file. If not specified, the first non-argument option on the command line is taken to be the name of the file. If no option is available, the input is read from the standard input stream.

--output=file
If specified, this indicates the name of the output RDB table. If not specified, the first non-argument option on the command line is taken to be the name of the file. If no option is available, the output is written from the

--zfid=number
This specifies the axial location which should be used as the zero point of the OSAC coordinate system. It defaults to 0.

--zloc=enap|fplane
This specifies the location from which --zfid is measured. This defaults to enap.

--help
Output a short help message and exit.

--usage
Output lengthy usage information and exit.

--version
Output the version and exit.


DESCRIPTION

mirror2osac constructs a trace-shellz compatible mirror geometry file from a mirror output file. In addition to parsing out the OSAC conic parameters it also estimates the positions of the system and shell nodes.

It is assumed that the entrance aperture of the telescope is at Z = 0. This seems to be the default for mirror's OSAC parameters.

The system nodal position is given by

  distance from focal plane to input aperture plane -
   the weighted average focal length

The shell nodal positions are given by

  distance from focal plane to input aperture plane -
   the shell focal length

All distances are written out in millimeters.


AUTHOR

Diab Jerius ( djerius@cfa.harvard.edu )


COPYRIGHT AND LICENSE

Copyright (C) 2004 by the Smithsonian Astrophysical Observatory

This software is released under the GNU General Public License. You may find a copy at

  http://www.fsf.org/copyleft/gpl.html