NAME

scatterdb_convert - converts old style scattering database to new style scattering database.

SYNOPSIS

scatterdb_convert [OPTIONS]

DESCRIPTION

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.

OPTIONS

The following options are supported:

hdosxformdb

RDB database mirror dimensions. See FILES.

mirrordb

RDB database of mirror positions. See FILES.

scatterdb

RDB database of zone positions and scattering distribution files. See FILES.

outputdb

File into which the output is written.

help

Print brief usage information and exit.

usage

Print usage information and exit.

version

Print version information and exit.

EXAMPLE

  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

FILES

HDOS Transform Database

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.

Mirror Database

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.

Scatter Database

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 & LICENSE

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

VERSION

This documents version @VERSION@ of scatterdb_convert.

AUTHOR

M. Tibbetts ( mtibbetts@cfa.harvard.edu )