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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

138 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />

parameter, and quantization can be disabled. <strong>The</strong> default quantization (7 bits of noise) should be<br />

more than enough to preserve all image features.<br />

D.8.4 PARAMETERS<br />

infile [filename ]<br />

Input file name containing <strong>BAT</strong> detector plane image. If pcodemap is ‘YES’, then the contents<br />

of the map are ignored, but the keywords from the map file are used to select the calibration<br />

files from CALDB. Thus, using a detector enable map or a quality map is appropriate in that<br />

case. Avoid using the CFITSIO syntax to select image extensions; use the ‘rows’ parameter<br />

instead.<br />

outfile [filename ]<br />

Output sky image or partial coding map file name.<br />

attitude = “NONE” [string ]<br />

Swift attitude file name. If NONE is given, then a celestial coordinate system cannot be<br />

assigned to the image.<br />

(aperture = “CALDB:FLUX”)[filename ]<br />

<strong>BAT</strong> aperture map file name, which contains the coded mask pattern and alignment parameters.<br />

If the CALDB database is set up, then CALDB can also be specified. If several<br />

aperture types are available in the CALDB, the user can specify CALDB:apertype. Valid<br />

values of apertype are currently: FLUX or DETECTION, for apertures optimized for flux<br />

reproducibility or detection sensitivity, respectively.<br />

(detmask = “NONE”) [string ]<br />

Name of a detector quality map file. This should be an image file with the same dimensions<br />

as the focal plane map. A pixel value of 0 indicates the detector is enabled for imaging, and<br />

a non-zero value indicates disabled. A default value of NONE implies all detectors are on,<br />

except for the <strong>BAT</strong> detector gap regions.<br />

(bkgfile = “NONE”) [string ]<br />

Name of a file containing background image data to be subtracted from the input. A value<br />

of NONE indicates no subtraction should be performed.<br />

(bkgvarmap=“NONE”) [string ]<br />

Optional output file name for the theoretical Poisson background fluctuation map. This map<br />

will be either the standard deviation map or the variance map depending on the value of<br />

bkgvartype. NOTE: <strong>The</strong> input map must not be cleaned for the theoretical map to be<br />

computed properly. A value of NONE indicates no fluctuation maps should be created. A<br />

value of APPEND indicates that each fluctuation map should be appended to the output file<br />

given by ‘outfile’.<br />

(bkgvartype=“STDDEV”) [string ]<br />

Type of output fluctuation map. Valid values are: STDDEV, for a standard deviation map;<br />

or VARIANCE, for a variance map.

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

Saved successfully!

Ooh no, something went wrong!