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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
94 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />
D.1 <strong>BAT</strong>BINEVT<br />
D.1.1 NAME<br />
batbinevt - accumulate <strong>BAT</strong> event and DPH data into spectra, lightcurves or images<br />
D.1.2 USAGE<br />
batbinevt infile outfile outtype timedel timebinalg energybins<br />
D.1.3 DESCRIPTION<br />
batbinevt computes mask weighted light curves and spectra for <strong>BAT</strong> event and detector plane histogram<br />
data (DPHs). This tool can use the weights generated by batmaskwtevt or batmaskwtimg<br />
to make binned output light curves and spectra. batbinevt can also be used to make raw detector<br />
plane images and histograms, and to rebin raw detector plane histograms in time or energy.<br />
<strong>The</strong> input event file must normally have been processed first by batmaskwtevt for a particular<br />
source position. Thus, batbinevt will only extract weighted products for one source at a time,<br />
although it can compute many time or energy samples.<br />
INPUT FILE TYPES<br />
batbinevt operates on either event data or <strong>BAT</strong> DPH data. Event data must have the TIME and<br />
energy columns. If weighting is applied, then either the MASK WEIGHT column must be present,<br />
or a separate mask weight image file must be supplied.<br />
batbinevt can also read detector plane histograms (DPHs). <strong>BAT</strong> DPHs have two spatial dimensions<br />
and one energy dimension. <strong>The</strong>y are produced by the <strong>BAT</strong> flight software, and also perhaps<br />
previous runs of batbinevt. <strong>The</strong>y must contain an EBOUNDS extension which describes the energy<br />
bin edges.<br />
OUTPUT FILE TYPES<br />
batbinevt can output several file types. <strong>The</strong> most common will be<br />
LC standard OGIP light curve (default: weighted=yes, outunits=RATE);<br />
PHA standard OGIP spectrum (type I or II; weighted=yes, outunits=RATE);<br />
Output format is determined automatically; if there is one output spectrum then the output<br />
file is a type I spectrum; otherwise it is type II.<br />
PHA1 standard OGIP spectrum (type I; default: weighted=yes, outunits=RATE);<br />
PHA2 standard OGIP spectrum (type II; default: weighted=yes, outunits=RATE);