NAME

addfltgradeadu2subass - add two columns, fltgrade (flight grade) and pha (energy) to the input FITS sub assembly event file.


SYNOPSIS

addfltgradeadu2subass [ -s splitthreshold (13) ] -f inputfname -o outputfname -i ccd_id


OPTIONS

The input and output filenames must be entered. The split threshold is optional, a default value of 13 shall be used for the split threshold. See http://hea-www.harvard.edu/MST/simul/software/docs/html/acisevents.html for the definition of how the flight grade and energy are calculated.

The options are :

-h
To print this message. For example:
 addfltgradeadu2subass -h

-f
The input subassembly FITS filename. For example:
 addfltgradeadu2subass -f input-filename -o output-filename -i 2

-i
The ccd_id, the integer id must be from [ 0, 9 ]:
 addfltgradeadu2subass -f input-filename -o output-filename -i 3

-o
The output subassembly FITS filename containning two extra columns, fltgrade and pha. For example:
 addfltgradeadu2subass -f input-filename -o output-filename -i 4

-s
The split threshold used to calculate the flight grade (fltgrade) and energy (pha) of an event. A default value of 13 shall be used if the option is not entered at the command line. For example:
 addfltgradeadu2subass -f input-filename -i 5 -o output-filename -s 15

-v
Print the program version and exit. For example:
 addfltgradeadu2subass -v