The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
D.5. <strong>BAT</strong>DRMGEN 127<br />
of interest. If “NONE” is specified, batdrmgen uses the values specified by the hv def and<br />
vthr def parameters.<br />
• At present, batdrmgen uses this file simply to check the hv values, make certain they are<br />
nominally 200V, and warn the user if they are not. <strong>The</strong>refore, the default value of “NONE”<br />
is perfectly acceptable.<br />
(row = 1) [integer ]<br />
If the input PHA file is a “Type II” spectrum (one spectrum per row of the PHA file), the<br />
row parameter specifies which row of the file contains the spectrum for which a response<br />
matrix is computed. For a “Type I” spectrum (single spectrum extension) the row parameter<br />
is ignored, but should be set to 1.<br />
(calfile = CALDB) [filename ]<br />
Name of the FITS file that contains the spectral parameters for the response function. <strong>The</strong><br />
default value is “CALDB” thus allowing the file to be managed by the CALDB utility.<br />
(depthfile = CALDB) [filename ]<br />
Name of the FITS file that contains the compressed photon interaction depth distribution<br />
generated by Monte Carlo simulations. <strong>The</strong> default value is “CALDB” thus allowing the file<br />
to be managed by the CALDB utility.<br />
(escale = CALDB) [string ]<br />
Desired form of the incident photon energy bin edges. Possible responses include:<br />
“FILE” the program reads in a FITS file containing the bin edges (see description of the<br />
efile parameter below);<br />
“LIN” linear binning<br />
“LOG” logarithmic binning.<br />
• Both LIN and LOG allow the user to specify the number of bins (see nphoton bins below)<br />
and the energy range (see elimit lo and elimit hi listed below. )<br />
(detmask = NONE) [string ]<br />
Name of a “mask weight” map (with dimensions of 286x173) which indicates which detectors<br />
were used to accumulate the spectrum. At present, this parameter is not used.<br />
(method = MEAN) [string ]<br />
Computation method for DRM. <strong>The</strong> default method (“MEAN”) accesses calibration parameters<br />
that are averaged over the entire <strong>BAT</strong> FOV. <strong>The</strong> alternative method is “TABLE”, in<br />
which batdrmgen accesses a table of calibration parameters for different source positions and<br />
sorts the table with respect to the angular separation between the source direction vector and<br />
the position vector for each ground calibration measurement. batdrmgen then calculates the<br />
weighted average of the parameter values from the three closest calibration measurements.<br />
Thus, the ground calibration parameters from measurements closer to the source position will<br />
be weighted more heavily.<br />
(flight data = YES) [boolean ]<br />
Flag indicating whether the PHA file contains flight data as opposed to ground calibration<br />
data.