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.4. <strong>BAT</strong>DETMASK 123<br />
D.4 <strong>BAT</strong>DETMASK<br />
D.4.1 NAME<br />
batdetmask - retrieve <strong>BAT</strong> gross detector quality map from CALDB<br />
D.4.2 USAGE<br />
batdetmask date outfile<br />
D.4.3 DESCRIPTION<br />
batdetmask retrieves a gross detector quality map (bad pixel map) from CALDB for the time of<br />
a given observation. This quality map is meant to reflect any operational issues that affected the<br />
<strong>BAT</strong> science data quality which are not easily extractable from the filter file or other telemetry.<br />
<strong>The</strong> user is not excused from doing other routine quality filtering, for example for SAA or noisy<br />
detectors. Thus, this task is most useful for doing gross filtering of data at the observation level to<br />
remove detectors with known bad data.<br />
<strong>The</strong> master quality maps are stored in CALDB. This task is merely an interface to retrieve<br />
the correct map for the right time. <strong>The</strong> user can specify the time explicitly, or an FITS file which<br />
contains the time in a header keyword. <strong>The</strong> retrieved quality map can also be combined with an<br />
existing user quality map using the detmask parameter.<br />
<strong>The</strong> result is a detector quality map suitable for input to any <strong>BAT</strong> task which accepts the<br />
detmask parameter.<br />
D.4.4 PARAMETERS<br />
date [string ]<br />
<strong>The</strong> date of observation. This can be either the date of the exact form ”YYYY-MM-mm:ss”;<br />
OR the Swift mission elapsed time in seconds as a real number; OR a file name which contains<br />
the observation time in a header keyword.<br />
outfile [filename ]<br />
Name of the output detector quality map file.<br />
(keyword = “TSTART”) [string ]<br />
If the “date” parameter specifies a file, then the file is searched for a header keyword of<br />
this name. <strong>The</strong> keyword value may be of either of the time formats listed for the “date”<br />
parameter.<br />
(detmask = “NONE”) [string ]<br />
<strong>The</strong> name of a user quality map which should be combined with the one from CALDB, or<br />
NONE if only the CALDB map is desired.