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.
D.17. <strong>BAT</strong>OCCULTMAP 175<br />
D.17 <strong>BAT</strong>OCCULTMAP<br />
D.17.1 NAME<br />
batoccultmap - compute <strong>BAT</strong> exposure mask due to occultation<br />
D.17.2 USAGE<br />
batoccultmap infile outfile saofile<br />
D.17.3 DESCRIPTION<br />
batoccultmap computes the fractional exposure in the <strong>BAT</strong> field of view due to occultation by the<br />
earth, moon and/or sun. <strong>The</strong> <strong>BAT</strong> field of view is large enough that any of these bodies may<br />
occult cosmic sources. Since the bodies move with time, the task computes the exposure map as<br />
a function of time and merges the results. This task is used for sky images; if you want to data<br />
selection for the visibility of a single source, use batoccultgti.<br />
<strong>The</strong> task can be run in two modes. If occultation=“any”, then any portion of the image which<br />
is blocked at any time is masked in the output. If occultation=“fraction”, then the fractional<br />
exposure is computed (a value between 0 and 1).<br />
<strong>The</strong> user must supply the “SAO” file created by prefilter. This file contains the positions of the<br />
earth, moon and sun as a function of time. <strong>The</strong> sizes of the earth, moon and sun are configurable.<br />
D.17.4 PARAMETERS<br />
infile [filename ]<br />
<strong>The</strong> name (and optional extension) of the input image file name.<br />
outfile [filename ]<br />
<strong>The</strong> name of the output map file. For occultation=“fraction”, the map will range continuously<br />
from 0.0 to 1.0, corresponding to the partial exposure. For occultation=“any”, the map will<br />
be either 0.0 (occulted at some time) or 1.0 (never occulted).<br />
saofile [filename ]<br />
<strong>The</strong> name of the “SAO” file produced by prefilter. This file should contain the columns TIME,<br />
RA, DEC, ROLL, SAT ALT, MOON RA, MOON DEC, SUN RA, SUN DEC, EARTH RA,<br />
EARTH DEC.<br />
atmdepth = 5.0 [real ]<br />
Thickness of the earth “atmosphere” in kilometers. Points within this thickness are assumed<br />
to have zero exposure.