hxtrsp - produce a HEXTE response matrix for a HEXTE spectrum (PHA file)
hxtrsp [-i "pha_file"] [-a "attitude_file"] [-h]
hxtrsp is a perl script that produce a HEXTE response matrix for a HEXTE spectrum (PHA file).
For a HEXTE spectrum it uses the calibration data stored in the OGIP Calibration Database ("CALDB") to form an appropriate response matrix, based on the "detector ID" of the spectrum, the observation date, and an optional XTE Filter file or attitude file for calculating the collimator response. (If not provided, the Ftool HXTARF is called in any case to calculate the collimator response at the nominal RXTE boresight).
The resulting response matrix is named after the root name of the PHA file with the suffix ".rsp".
If the "pha_file" or "attitude_file" are not present, the user is prompted for them.
If the detector ID and date/time are not present in the PHA file as FITS keywords, the user is prompted for their values (which are subsequently written into the PHA file, along with a RESPFILE keyword identifying the new response matrix which HXTRSP created).
quzcif, fkeypar, pget, rddescr, rbnrmf, hxtarf, marfrmf, fparkey
"MATRIX", "COLLRESP", "EFF_AREA" datasets are all required to be defined for the HEXTE, the last two are for use with HXTARF.
hxtarf, rddescr, caldb