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.
5.9. DETECTING SOURCES IN <strong>BAT</strong> IMAGES 51<br />
• detecting a source blindly<br />
• detecting a source at a known position<br />
5.9.2 Prerequisites<br />
We will practice the operation image data from on GRB 050713A (obsid 00145675 000).<br />
Here is what is needed:<br />
• <strong>BAT</strong> sky image (say, preslew.img)<br />
• partial coding map (say, preslew.pcodeimg)<br />
For example, we use the documentation on “Making <strong>BAT</strong> Sky Images” to create sky images<br />
and partial coding maps. <strong>The</strong>se kinds of images can also be generated using the ‘batgrbproduct’<br />
task, which creates a complete set of analysis products for a gamma-ray burst. <strong>The</strong> Swift Data<br />
Center also makes <strong>BAT</strong> sky images as a part of its standard processing.<br />
5.9.3 Perform Blind Source Detection<br />
batcelldetect operates on a sky image and partial coding map to produce a catalog of detected<br />
sources.<br />
Issue the following command,<br />
batcelldetect preslew.img preslew.cat 5 \<br />
pcodefile=preslew.pcodeimg regionfile=preslew.reg \<br />
clobber=YES<br />
where<br />
• preslew.img is the sky image<br />
• preslew.cat is the output catalog produced by batcelldetect<br />
• “5” is the local signal to noise detection threshold in sigma units (this should always be at<br />
least 4)<br />
• pcodefile is the partial coding file<br />
• regionfile is a region file produced by batcelldetect which you can load into an image viewer<br />
like DS9<br />
• clobber=YES is usually recommended, since otherwise batcelldetect may attempt to append<br />
to an existing catalog file.<br />
<strong>The</strong> Output<br />
<strong>The</strong> output of the task should look something like this (for the prompt pre-slew emission of this<br />
particular GRB):