30.01.2013 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.5. RATE FILES 71<br />

Name Format [Units] Comment<br />

TIME 1D [s] TIME associated with DPH<br />

EXPOSURE 1D [s] Eposure of the histogram<br />

DPH COUNTS (80,286,173)D [count] Detector plane histogram<br />

DATA FLAGS 1I Data Quality 0=OK, 1=Problem<br />

GAIN INDEX 1J Gain used in DPH<br />

OFFSET INDEX 1J Offset used in DPH<br />

LDPNAME 240A15 <strong>BAT</strong> LDP File Name<br />

BLOCK MAP 1I Block Bit Mask<br />

NUM DETS 1J Number of detectors<br />

APID 1I Application ID<br />

LDP 1I LDP product number<br />

DPH COUNTS is a three-dimensional data cube with 80 × 286 × 173 elements. <strong>The</strong> first<br />

dimension corresponds to the number of energy channels and can be varied, but will almost always<br />

be 80 for <strong>BAT</strong> surveys. <strong>The</strong> second and third dimensions indicate the geometric location of the<br />

detector in the <strong>BAT</strong> array plane. Since these dimensions include gaps between DMs, approximately<br />

one third of the table is empty (filled with zeros).<br />

<strong>The</strong> remaining columns are mostly for bookkeeping and trend analysis, but the data could be<br />

filtered on some of these values.<br />

<strong>The</strong> arrangement of data in the data cube was determined to maximize speed of filling the cubes<br />

from the flight data products. A consequence is that the data cannot easily be visualized with tools<br />

like fv. Two <strong>BAT</strong> tools, batdph2dpi and batdph2pha render the data cubes into, respectively, a<br />

single Detector Plane Image or 32768 detector spectra. For science analysis and visualization,<br />

batbinevt should be used.<br />

<strong>The</strong> DPH FITS files also include an EBOUNDS extension specifying the energy bounds of the<br />

histogram channels. <strong>The</strong>re is also a GTI extension.<br />

A.5 Rate Files<br />

<strong>The</strong>re are six types of rate files (light curves) produced by the <strong>BAT</strong>. Five of these are produced in<br />

final form as Level 0 products. One of them (mask-tagged light curves) requires further processing<br />

in the SDC pipeline using batmasktaglc.<br />

<strong>The</strong> rate files are 1-second rates, quad rates, 64 msec rates, max rates, masktagged rates and<br />

burst light curves. <strong>The</strong> first five types are produced at all times when the data ingest task is<br />

running. <strong>The</strong> last type (burst light curve) is only produced in response to a burst. All rate files<br />

have suffix “lc”.<br />

A.5.1 One-second Rates<br />

One-second rate files (code “rt1s”) are single channel light curves representing the total count rate<br />

in the <strong>BAT</strong> array as a function of time (not background subtracted). Time binning is one second.<br />

Since this file is derived from a hardware counter it continues to record the total <strong>BAT</strong> event rate<br />

even when the data ingest task is turned off (during SAA passage, for instance) and includes all<br />

events regardless of energy.<br />

Name Format [Units] Comment<br />

TIME 1D [s] TIME of Rates<br />

COUNTS 1J [count] Array counts per 1 s bin

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!