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.
146 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />
NOTE: the scripts batgrbproduct and bat-burst-advocate are identical. <strong>The</strong> first name has<br />
been preserved for historical reasons, and the second name for consistency with the product scripts<br />
of the UVOT and XRT.<br />
By default it is assumed that the TDRSS position message is present. This message provides<br />
information about the position of the burst and the initial time interval of the burst. However, the<br />
user can override these values using command line parameters. If the RA and Dec values are set<br />
to BLIND, then sky images are made, but no further analysis is done, and it is up to the user to<br />
search the image to find new sources.<br />
PREREQUISITES - the user must have the standard FTOOLS (6.0.5 or later) installed and<br />
set up. Also, the CALDB must be installed and set up. It is assumed that the input directory<br />
structure is the same as that produced by the Swift Data Center (SDC). <strong>The</strong> event by event data<br />
should already be energy-calibrated by either the SDC or running bateconvert manually (i.e. the<br />
PI and ENERGY columns should be filled).<br />
D.10.4 SUMMARY OUTPUTS<br />
Upon finishing, the output directory contains a text file calledprocess.log. This file contains all<br />
the commands executed and detailed output transcripts. Users can check this file to: (a) diagnose<br />
problems; and (b) to get ideas on how to use the software to make their own custom science<br />
products.<br />
<strong>The</strong> output directory also contains report.txt, which is text file with a summary report giving<br />
basic statistics and factual information about the trigger that was analyzed.<br />
<strong>The</strong> task concludes by printing to the console a detailed inventory of files it created, including<br />
the name and a brief description for each file.<br />
D.10.5 OUTPUT DIRECTORIES<br />
<strong>The</strong> output files are arranged by type into several directories. <strong>The</strong> following list describes each<br />
directory. Each file name contains code phrases which are also described.<br />
outdir/lc Light curves. File names with “1chan” and “4chan” have 1 and 4 energy bins respectively.<br />
Time binnings can be 1 second (“1s”), 64 millisecond (“64ms”) and 4 millisecond<br />
(“4ms”). <strong>The</strong> light curves cover the full range of event data.<br />
outdir/pha Spectra and response matrices. Spectra are computed for the total burst interval,<br />
the T50/T90 intervals, the peak flux interval (1 second), and also for the pre-slew, slew, and<br />
post-slew intervals. Response matrices are computed for the pre-slew and post-slew intervals.<br />
outdir/dpi Detector images. Detector images are made in the pre-burst, pre-slew and post-slew<br />
time intervals. Pre-burst means an image created before any detectable emission. Images<br />
with 1 and 4 energy bins are created.<br />
outdir/img Sky and partial coding images. Sky images are made in the same time intervals as<br />
detector images, but only for the 1-channel images. Small “postage-stamp” images are also<br />
created (suffix “.postimg”), centered on the burst position. Partial coding maps are made for<br />
the pre-slew and post-slew intervals.<br />
outdir/gti Duration information. Various good time interval files are generated. Files with “acs”<br />
are spacecraft-attitude related (“acs 10am”, “acs sett”, “acs slew” corresponding to the 10arcmin,<br />
settled, and slewing flags, respectively). Files with “grb” select events near the GRB