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.
36 CHAPTER 5. <strong>BAT</strong> ANALYSIS PROCEDURES<br />
Figure 5.1: Schematic diagram of mask weighting operation.<br />
<strong>The</strong> <strong>BAT</strong> has a coded-aperture imaging system, which means that does not contain any focussing<br />
optics, and point sources on the sky are not imaged to a single point on the <strong>BAT</strong> detector<br />
array. <strong>BAT</strong> imaging and spectroscopy involves cross-correlating the detected shadow pattern with<br />
the expected shadow pattern. <strong>The</strong> first step in this process for GRB analysis is to determine the<br />
degree of shadowing for each event recorded during the GRB via ray tracing, and convert shadowing<br />
fraction into a weight. At a later step, these weights can be summed to produce a light curve<br />
or spectrum.<br />
<strong>BAT</strong> mask weights are only valid for a given position on the sky! If you are interested in a<br />
different (or revised) position, then you must re-run the mask weighting.<br />
5.5.2 Reasons to Re-run the Mask Weighting<br />
<strong>The</strong> Swift Data Center runs the mask weighting tool in the automated pipeline. In principle, you<br />
will not need to re-run it yourself. However, in practice, there are several reasons you may want to.<br />
• You have a refined position for the GRB. Mask weighting is only valid for one position on<br />
the sky, so if you have a new position, you need to re-calculate the weights.<br />
• You are interested in another source than the GRB.<br />
• To capture improvements in the newer software (see below).<br />
• To make an auxiliary raytracing file.<br />
Checking the event file for the position<br />
You can check the event file to see if it was mask-weighted with the proper position of the GRB.<br />
Run the command:<br />
fkeyprint sw00145675000bevshsp_uf.evt.gz <strong>BAT</strong>_<br />
You should see the following results (among other entries):<br />
<strong>BAT</strong>_RA = 320.5402 / [deg] Right ascension of source<br />
<strong>BAT</strong>_DEC = 77.0751 / [deg] Declination of source<br />
If these lines do not exist, or they contain the incorrect position, then you will need to re-run<br />
the mask-weighting task.