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.

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

(aperture) [filename ]<br />

Aperture file. <strong>The</strong> default is the aperture file in the CALDB area. This parameter may<br />

be omitted or set to “NONE” if only background cleaning is required (i.e., the srcclean<br />

parameter set to “NO”). If several aperture types are available in the CALDB, the user can<br />

specify CALDB:apertype. Valid values of apertype are currently: FLUX or DETECTION,<br />

for apertures optimized for flux reproducibility or detection sensitivity, respectively.<br />

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

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

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

of 1 indicates disabled, noisy, or otherwise selected for elimination from fits. A default value<br />

of NONE implies all detectors are on, except for the <strong>BAT</strong> detector gap regions.<br />

• It is strongly recommended to use a detector mask file if one is available. <strong>The</strong> quality of the<br />

fit, especially to calibration data is greatly improved if only working detectors are included<br />

in the fits.<br />

(wtmapin) = “NONE” [filename ]<br />

Name of an input error map. This is used to provide weights for the fitting in case one is<br />

cleaning a DPI which does not have Poisson statistics (such as an already cleaned DPI). <strong>The</strong><br />

typical sequence would be to create an error map using the wtmapout parameter on the first<br />

cleaning and then read this error map in on the second cleaning. If an already cleaned image<br />

is cleaned without an input error map than uniform weighting is used.<br />

(wtmapout) = “NONE” [filename ]<br />

Name of an output error map. If a filename is specified then the tool writes out a DPI<br />

containing the calculated weights for each detector. This can be used on subsequent cleanings<br />

as the input wtmapin error map.<br />

(backexp) = “NONE” [filename ]<br />

If the name of a file is given here, then the background model will be output to this file. <strong>The</strong><br />

format is a binary table with one column for each model parameter. <strong>The</strong> data is written in<br />

DPH format, or as a 286 X 173 element array, one number per detector. This table gives the<br />

model which was fit to the data, not the actual fit to the data. <strong>The</strong> final column in the table<br />

is the covariance matrix from the fit.<br />

(bat z) = 0 [real ]<br />

This is the z-component of the distance to the source in <strong>BAT</strong> Z coordinates (the vertical<br />

distance of the source from the origin of the <strong>BAT</strong> coordinate system). This parameter is<br />

ignored if srcclean = “NO.” If the incatalog contains a <strong>BAT</strong> Z keyword, then the value of the<br />

keyword is used and the value of the bat z parameter is not used. Note that the default value<br />

of 0 corresponds to a source at infinity.<br />

(bkgmodel) = “simple” [string ]<br />

This optional parameter indicates the background model to be fit. Currently only two models<br />

are hard coded: the simple model which is the 14 parameter fit described above and an even<br />

simpler test model which was used in testing the fit procedures. As more sophisticated<br />

background models are developed, they will be incorporated into the code.

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

Saved successfully!

Ooh no, something went wrong!