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.

D.16. <strong>BAT</strong>OCCULTGTI 171<br />

D.16 <strong>BAT</strong>OCCULTGTI<br />

D.16.1 NAME<br />

batoccultgti - compute <strong>BAT</strong> good time intervals due to occultation<br />

D.16.2 USAGE<br />

batoccultgti infile outfile ra dec<br />

D.1<strong>6.3</strong> DESCRIPTION<br />

batoccultgti computes the occultation good time intervals for a particular source during a <strong>BAT</strong><br />

observation. Occultation of the earth, moon and/or sun can be considered. <strong>The</strong> <strong>BAT</strong> field of view<br />

is large enough that any of these bodies may occult cosmic sources. Note that this task is used<br />

for a single source, usually for data selection. If operating on a sky image, the batoccultmap task<br />

should be used.<br />

Users can also check whether a source is within the X% partially coded field of view of the <strong>BAT</strong><br />

using the “FOV” constraint. Users need to simply specify a partial coding threshold. However,<br />

users should be warned that the coordinate transformations and partial coding levels are not exact<br />

(to within a few degrees).<br />

In addition to the partial coding check, users can also constrain the target to be in a certain<br />

position in the field of view, either in tangent plane coordinates (using the im{x,y}{min,max}<br />

parameters), or in polar coordinates (theta,phi).<br />

Normally, the user must supply the “SAO” file created by prefilter. This file contains the<br />

positions of the earth, moon and sun as a function of time. <strong>The</strong> “sizes” of the earth, moon and<br />

sun are configurable in this task. If the user is only performing a field of view check (i.e. not the<br />

earth, moon or sun), then it is possible to use a Swift attitude file (“sw*sat*.fits”), along with the<br />

att type=“ATT” parameter.<br />

This task calls the FTOOLS ‘maketime’ and ‘ftcopy’, which must be present.<br />

D.16.4 PARAMETERS<br />

infile [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. <strong>The</strong> file may also be a Swift attitude file if only field of view constraints are<br />

being checked, and if att type=“ATT”.<br />

outfile [filename ]<br />

<strong>The</strong> name of the output good time interval file. This is a standard OGIP-compatible GTI<br />

file.

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

Saved successfully!

Ooh no, something went wrong!