scatterdb_convert - converts old style scattering database to new style scattering database.
scatterdb_convert [OPTIONS]
Copies the scatterdb to outputdb adding fields to adhere to the new style scattering database required by scatter-1.0.1 and greater.
The hdosxform_db and mirror_db are used to determine the zone geometry in the body center coordinates.
The following options are supported:
RDB database mirror dimensions. See FILES.
RDB database of mirror positions. See FILES.
RDB database of zone positions and scattering distribution files. See FILES.
File into which the output is written.
Print brief usage information and exit.
Print usage information and exit.
Print version information and exit.
scatterdb_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 \
--outputdb ./HDOS_980623a.rdb
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.
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 scatterdb_convert.
M. Tibbetts ( mtibbetts@cfa.harvard.edu )