NAME

get_aper - using sumhdr, trwid_runid list, stglog and phahdr tables from database, find focal plane detector and its aperture for phase1 tests.


SYNOPSIS

get_aper [param=value ...]


PARAMETERS

sumhdr_table

The name of the sumhdr RDB file. To create this file use command:

    pg2rdb db=spectral table=sumhdr output=stdout host=fondue port=5432
    | column trwid runid detname calibtype > sumhdr_table
trwid_runid_file

The name of the trwid_runid RDB file. To create this file use command:

    pg2rdb db=spectral table=trwid_runid output=stdout host=fondue
    port=5432 | column trwid runid > trwid_runid_file
stglog_table

The name of the stglog RDB file. To create this file use command:

    pg2rdb db=spectral table=stglog output=stdout host=fondue port=5432
    datestyle=default | column runid irig ssda pcy pcz primex primey pcay 
    pcaz hsiz > stglog_table
phahdr_table

The name of the phahdr RDB file. To create this file use command:

    pg2rdb db=spectral table=phahdr output=stdout host=fondue port=5432
    | column runid iteration detector instrument > phahdr_table
help boolean

Print this help information.


DESCRIPTION

This script reads in the sum header, trwid_runid list, pha header, and stage log table from the database and finds the focal plane detector and the aperture used for the phase 1 tests (not including the beam uniformity and background tests).


AUTHOR

Kendra J Michaud ( kmichaud@cfa.harvard.edu )