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.

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

maskwt Apply corrections for mask weighting technique<br />

pcode Apply partial coding corrections<br />

ndets Normalize by number of exposed detectors<br />

subpixelate Use slower but potentially higher fidelity algorithm<br />

forward Reserved for clean procedure<br />

unbalanced Reserved for clean procedure<br />

nearfield Near field corrections for ground calibration analysis only<br />

• <strong>The</strong> “pcode” and “ndets” corrections require the user to supply the detmask<br />

keyword.<br />

(pcodethresh = 0.00) [real ]<br />

Minimum allowable partial coding value allowed for the source position. This is a fraction<br />

between 0.0 (no partial coding) and 1.0 (fully coded). For example, a value of 0.01 implies<br />

that at least 1% of the detectors must be illuminated. Mask weights for events whose partial<br />

coding is below the threshold will be set to zero.<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 detector plane map. A pixel value of 0 indicates the detector is enabled, and a non-zero<br />

value indicates disabled. A default value of NONE implies all detectors are on, except for the<br />

<strong>BAT</strong> detector gap regions. This map is only used for computing the fraction of illuminated<br />

pixels. <strong>The</strong> output mask weight map contains a value for all detectors in the array, regardless<br />

of detmask.<br />

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

Specifies an auxiliary output file which describes the position of the source in the <strong>BAT</strong><br />

field of view as a function of time, including various ray tracing diagnostics. <strong>The</strong> columns<br />

are TIME (MET in seconds); <strong>BAT</strong> X/Y/ZOBJ (source position in instrument coordinates<br />

in cm); IMX/Y (source tangent plane coordinates); PCODEFR (partial coding fraction);<br />

NGOODPIX (number of enabled detectors); MSKWTSQF (normalization parameter). One<br />

row is created for each ray tracing operation performed. This file is required for response<br />

matrix generation during slews.<br />

(filtexpr = ”(EVENT FLAGS == 0) —— (EVENT FLAGS == 16)”) [string ]<br />

Event filtering expression to be applied to the data. Any column filtering expression using<br />

the columns or keywords in the event file is valid (see the help for the “colfilter” task for<br />

more information). Events that fail the expression will have their mask weight set to zero.<br />

<strong>The</strong> default expression rejects calibration and multi-hit events, which are never due to cosmic<br />

sources. NOTE: users should not use spatial filters which exclude certain detectors, since<br />

batmaskwtevt will be unable to properly normalize the weights. For spatial filtering, use a<br />

detmask.<br />

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

Position of the source in <strong>BAT</strong> Z coordinates, if coord type is “cartesian” (in units of cm).<br />

(maskwtcol = “MASK WEIGHT”) [string ]<br />

Name of mask weight column.

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

Saved successfully!

Ooh no, something went wrong!