scatfile_convert - converts binary format scattering distributions to FITS format
scatfile_convert [OPTIONS]
For each line the scatter_db, scatfile_convert converts the binary format scattering distribution to a FITS file. Each scattering distribution file is placed in a single FITS binary table.
The hdosxform_db and mirror_db are used to determine the zone geometry in the body center coordinates.
The following options are supported:
scatfile_convert \ --hdosxformdb /proj/axaf/simul/databases/mirror/hdos_xform.rdb \ --mirrordb /proj/axaf/simul/databases/mirror/EKCHDOS06.rdb \ --scatterdb /proj/axaf/simul/databases/scatter/HDOS_980623a.rdb \ --outputdir ./HDOS/980623a/tables
The HDOS transform database must contain the mirror name, mirror end cut position, and mirror length in the mirror, Z_ec, and L columns respectively.
The mirror database must contain the mirror name and Z position of the body center of the optic in the mirror and z0 columns respectively.
The scatter database must contain the mirror name, Z position of the zone minimum, Z position of the zone maximum, and the binary format scattering distribution file in the mirror, zmin, zmax, and scat_file columns respectively.
These files are assumed to be binary format files with the following structure:
normalized(normtop)
value is raised(powtop).
number(ndist)
of floats representing the scattering distribution (pdist).
Copyright 2006 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
This documents version @VERSION@ of scatfile_convert.
M. Tibbetts ( mtibbetts@cfa.harvard.edu )