NAME

deticpt_chipdb - constructs chip position database for the deticpt program


SYNOPSIS

xdeticpt_chipdb [-help|-version]


OPTIONS

Options which take values are seperated from their values by either white space or the = character.

-hack

Boolean flag. Specifying -hack will cause a hack to be applied to the Aimpoint offsets. This hack was designed to force aimpoints to land at positions specified in the POG. -hack is off by default, you probably want to leave it off for modern CALDBs.

-raytrace

Determine focal distance by raytracing the system. Requires -tracenest and -config_db to be set.

-tracenest file

Path to the trace-nest executable. -tracenest is used to determine the OSAC focus position which is used in the aimpointdb.

-config_db file

-tracenest configuration db to use for determining the OSAC focus position which ends up in the aimpointdb.

--xaim, --yaim, --zaim

The OSAC aimpoint. These must be specified if --raytrace is not. --aimcomment must also be specified.

--aimcomment

Where the OSAC aimpoint came from. Required if not using --raytrace.

-output_dir directory

Directory into which to write the results. Three directories will be created within that directory with the names aimpointdb, chipsizedb, and chipposdb.

-caldb directory

Top level directory for the CALDB.

-caldbidx file

Relative path from -caldb to the CALDB index file. The CALDB index file is used to determine which AIMPTS, GEOM, SKY, and TDET files to use.

-aimpts directory

AIMPTS file in the CALDB.

-geom directory

GEOM file in the CALDB.

-sky directory

SKY file in the CALDB.

-tdet directory

TDET file in the CALDB.

-osac

Boolean flag. -osac causes the chipposdb LSI position to be output in OSAC coords. Default is off, which is probably what you want.

-help

Print this usage info.

-version

Print the version info and exit.


DESCRIPTION

mkdbs creates the aimpoint, chip position, and chip size databases for use by the deticpt program. It generates the databases from information gathered from the CALDB.

mkdbs gathers data from the CALDB. The user may specify the path to the CALDB, -caldb option and a CALDB index file, -caldbidx or may specify each CALDB file used explicitly via the options -aimpts, -geom, -sky, -tdet. If the -caldbidx is specified, it extracts the locations of the AIMPTS, GEOM, SKY, and TDET files within the CALDB from the index. Otherwise, the individual files as specified by the corresponding options are used.

Outputs are listed in the file 00FILEDESC.txt included in this distribution.


AUTHOR

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