The Neil Gehrels Swift Observatory

Special BAT FITS Keywords

1. Overview:

This thread gives a summary of the special keywords used by BAT software for analysis.

Read this thread if you want to: Know which keywords are used by BAT software

Last update: 2007-01-30

2. Keywords Used

The BAT software uses FITS keywords to both document the analysis procedures used, and to pass information to downstream tasks. This section lists those keywords, how they are created and used, and by what tasks.

In addition to the tasks listed above, it is also common for FTOOLs tasks to transfer existing keywords from the input file to the output file, so it is possible for the keywords to appear in other outputs than described.

3. Data Types

BAT software uses and creates various data types.

Data Type

HDUCLAS1

HDUCLAS2

HDUCLAS3

Tasks

Light curve

'LIGHTCURVE'

'NET' or
'TOTAL'

'RATE' or
'COUNT'

Original, batbinevt, batmasktaglc

Spectrum

'SPECTRUM'

'NET' or
'TOTAL'

'RATE' or
'COUNT' or
'TYPE:II'

batbinevt

Survey Histogram (DPH)

'ARRAY'

'TOTAL'

--

Original, batbinevt

Detector Plane Image (DPI)

'ARRAY'

'TOTAL'

--

Original, batbinevt

Cleaned DPI or DPH

'ARRAY'

'RESIDUAL'

--

batclean,batbinevt, batfftimage

Model background DPI or DPH

'ARRAY'

'PREDICTED'

--

batclean, batbinevt, batfftimage

Energy Bins

'RESPONSE'

'EBOUNDS'

--

batbinevt, batdrmgen

Flux Image

'IMAGE'

'NET'

--

batfftimage, batcelldetect

Significance Image

'IMAGE'

'SIGNIFICANCE'

--

batfftimage, batcelldetect

Mean Background Image

'IMAGE'

'BKG'

--

batfftimage, batcelldetect

Background Variation Image

'IMAGE'

'BKG_STDDEV'

'MEASURED' or
'PREDICTED'

batfftimage, batcelldetect

Background Variance Image

'IMAGE'

'BKG_VARIANCE'

'MEASURED' or
'PREDICTED'

batfftimage, batcelldetect

Partial Coding Image

'IMAGE'

'VIGNETTING'

--

batfftimage, batcelldetect

Occultation Image

'IMAGE'

'VIGNETTING'

'OCCULTATION'

batfftimage, batcelldetect

Response Matrix

'RESPONSE'

'RSP_MATRIX'

'FULL'

batdrmgen

4. Modifications