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.1. <strong>BAT</strong>BINEVT 95<br />
batbinevt can also output histograms and images:<br />
DPH detector plane histogram; for each temporal integration, a three dimensional histogram of<br />
the number of counts is constructed with two spatial dimensions (DETX and DETY) and<br />
one energy dimension. batbinevt can rebin an existing DPH in time or energy, or generate a<br />
new DPH from event data. <strong>The</strong> EBOUNDS extension describes the energy binning. (default:<br />
weighted=no, outunits=COUNTS);<br />
DPI detector plane image; a histogram of the number of counts in two spatial dimensions (DETX<br />
and DETY). Each FITS extension contains only one DPI; multiple images are stored in<br />
concatenated FITS extensions. batbinevt can either “flatten” existing DPHs into DPIs, or<br />
make new DPIs from event data. (default: weighted=no, outunits=COUNTS);<br />
DPITAB detector plane image. Images are stored in rows of a FITS binary table (multiple<br />
images in one extension). (default: weighted=no, outunits=COUNTS).<br />
WEIGHTED or UNWEIGHTED?<br />
Applying mask weighting is equivalent to background subtraction. Detectors which are fully shadowed<br />
are assigned a -1 weight, and fully illuminated detectors a +1 weight, and partially illuminated<br />
detectors are assigned an prorated value. Thus, a weighted sum of the counts will automatically<br />
subtract the background.<br />
<strong>The</strong> default of the ‘weighted’ parameter depends on the output type.<br />
• light curves and spectra are weighted by default;<br />
• histograms and detector images are not weighted by default.<br />
Users can choose to change the default by setting weighted to “yes” or “no.”<br />
For event data, the default is to take the mask weighting values for each event from the<br />
MASK WEIGHT column. This can be overridden by using the maskwt parameter, which gives<br />
a mask weight map to be used for all events. [This parameter should not be used for event data<br />
taken during slews.] For DPHs, the mask weighting is also specified using the maskwt parameter.<br />
TIME BINNING<br />
<strong>The</strong> user can choose how to bin the data in time. For “uniform” binning, a non-zero time bin size<br />
indicates that every time bin should have the same size. A zero time bin size indicates that all<br />
input data should be summed into a single output time bin.<br />
For “gti” binning, the user specifies the desired bins using the gtifile parameter, which is in<br />
the standard GTI format. Adjoining good time intervals are not merged when using this method.<br />
<strong>The</strong> timedel bin size is ignored. Note that the ‘minfracexp’ parameter is always honored. If it is<br />
important to preserve all requested bins, even if they have zero exposure, then set minfracexp=0.<br />
For “snr” binning, the user specifies a desired signal-to-noise ratio with the snrthresh parameter.<br />
When the total signal to noise ratio for a given time bin exceeds the threshold, a new bin is started.<br />
<strong>The</strong> timedel bin size is taken as the maximum bin size before a new bin is started; if timedel=0<br />
then there is no maximum.<br />
<strong>The</strong> “infile” binning method only applies when the input is a DPH. When the binning algorithm<br />
is set to “infile,” then the time binning of the input file is preserved in the output file. This may