sisrmg -- SIS Response Matrix Generator
sisrmg infile arfile rmfile
This task generates the SIS response matrix appropriate to an instrument parameter regime as defined by keywords found in the infile FITS header. If an ancillary response file is found, its energy space information will be used to construct the response matrix. Otherwise, hidden parameters are used to construct the energy space for the resulting response matrix file.
It is recommended that the user run SISRMG on XSELECT-generated PHA files to ensure that all information required to reliably produce the proper matrix is present in the input PHA file. For example:
sisrmg s0c1.pha NONE s0c1.rmf
Optional command line parameters are available to modify the matrix.
Faint PH encoding 0x0001 ( 0 < PH < 4095 )
Faint/Bright Singles 0x0002 ( Grade 0 )
Faint/Bright Single+Corner 0x0004 ( Grade 1 )
Faint/Bright Vertical Split 0x0008 ( Grade 2 )
Faint/Bright Left Hor. Split 0x0010 ( Grade 3 )
Faint/Bright Right Hor. Split 0x0020 ( Grade 4 )
Faint/Bright Split+Corner 0x0040 ( Grade 5 )
Faint/Bright L & Square 0x0080 ( Grade 6 )
Faint/Bright Others 0x0100 ( Grade 7 )
Fast/Bright PH encoding 0x0200 ( 0 < PH < 2047 )
Fast Singles 0x0400 ( Grade 0 )
Fast Others 0x0800 ( Grade 1 )
Log2 of Rebin Factor 0xR000 (R == 0,1,2,... )
Sample choices:
Faint Singles (1024ch) 0x2003
Faint Grades 0,2-4 (512ch) 0x303b
Faint Grades 0,2-4,6 (4096ch) 0x00bb
Bright Singles (1024ch) 0x1202
Bright Grades 0,2-4 (512ch) 0x223a
Fast Singles (1024ch) 0x1600
What flag no yes lots
Echo inputs to terminal 0x0001 *
Calibration info echoed 0x0002 *
Response Calculation echoed 0x0004 * *
Ebounds Calculation echoed 0x0008 * *
Put RMF in FITS Primary (+) 0x0010 *
Put Inputs in FITS Primary 0x0020 * *
Echo XRT EA information 0x0040
Echo RQT info in FITS Primary 0x0080 * *
Factor ARF into RMF 0x0100
Calibration commentary 0x0200 * *
(+) A FITS image of the matrix is produced in addition to the normal binary table extensions.
SISRMG may be used without an input PHA file in one of two modes. It is recommended to use a small number of energy bins to minimize the turn-around time while experimenting with these options.
In the first mode, you may supply all the information that should have been found in the PHA file with parameters on the command line:
sisrmg NONE NONE s0c1.rmf ...
In the second mode, you may use any input FITS file that contains a suitable set of RQ* keywords. These keywords are typically copied to the primary header of matrices generated by SISRMG, so you can actually use an existing matrix as the input for subsequent invocations of SISRMG.
Note that SISRMG reads its parameter interface first, then the PHA file, and then looks for RQ* keywords only if there is some problem. If these keywords are found, they override other input (i.e. the parameter interface).
The RQ* keywords are:
RQVERS calibration version--the current version is 1.1.
RQEPCH the time of observation in ASCA seconds. This is used
to correct gain, echo and RDD secular effects.
RQEVTH the event threshold for identifying events
RQSPTH the split threshold used in classifying events
RQXCEN/RQYCEN mean RAWX/Y coordinate for CTI gain correction
RQXWID/RQYWID width about mean (currently ignored)
RQTEMP focal plane temperature (currently ignored)
RQEVPF events per frame (currently ignored)
RQIMHI image clock hi (currently ignored)
RQIMLO image clock lo (currently ignored)
RQECHO the amount of echo corruption present in the data. If nonzero,
then the appropriate echo value will be obtained from the
secular file named by RQEHIS. If this keyword is not present,
or if the named file does not exist, then the value given in
RQECHO is used.
RQLEAK allows for the inclusion of an average light leak in the
response. This produces both a gain shift as well as a
broadening of certain spectral features.
RQDARK used to indicate whether FAINTDFE was applied to clean up faint
mode data. If zero, then it is assumed FAINTDFE was applied;
however, there are known problems with the calibration in this
case. If RQDARK is nonzero, then SISRMG will consult the
file named by RQRDDH for RDD data. If this keyword is missing,
or if the named file does not exist, then internal heuristics
are used. The actual nonzero RQDARK value is ignored.
RQDETR 0 or 1 for SIS0 or SIS1.
RQCHIP 0-3 for chips 0, 1, 2 or 3.
RQMODE F, 1, 2, 4 for Fast, 1-CCD, 2-CCD or 4-CCD mode data.
RQPMIN minimum intrinsic PH [ADU] in the response
RQPMAX minimum intrinsic PH [ADU] in the response
RQMASK mask of response features to include (Cf. gmask)
RQCHTR level of chattiness during execution
RQEBIN number of energy bins in response domain
RQEMIN minimum input energy for response domain
RQEMAX maximum input energy for response domain
RQFRST conventional first output PH channel; should be 1
RQGANS controls smoothing of data in EBOUNDS extension.
RQDEFF forces inclusion of detector efficiency when nonzero
RQDOPI forces generation of PI matrices when nonzero. Note:
although the PI gain is time-independent, the resolution
and other characteristics of the response are secular.
RQRDCV External RDD Correction Version: <0,0,>0 == Unknown,None,Applied
RQDFEZ FaintDFE style 0,1,2 == Old,New,Bright
RQFIL0 ascii ARF file
RQFIL1 ECD gaussian data files
RQFIL2 high ph tail files
RQFIL3 grade branching adjustment files
RQDIR0 root directory of SIS data files
RQGECD ECD FITS data file
RQPHPI CTI gain transformation file
RQEHIS Echo secular history file
RQRDDH Residual Dark Distribution history file
A complete, new interface has been introduced for SISRMG v1.0. All known bugs were fixed for v1.1.
Please forward comments, feedback, etc. to the author of the software, Geoffrey Crew, gbc@space.mit.edu.
Documentation for XSPEC, various OGIP documents, the other Ftools, http://heasarc.gsfc.nasa.gov/docs/asca, http://space.mit.edu/~gbc, etc.