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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
D.14. <strong>BAT</strong>MASKWTEVT 161<br />
D.14.5 DISTORTION CORRECTION<br />
Batmaskwtevt can correct for systematic non-linear centroid shifts in the <strong>BAT</strong> imaging system.<br />
It is assumed that the input position (either celestial or instrumental) is in “true” undistorted<br />
coordinates. All distortion corrections occur internally within the task. <strong>The</strong> distortion correction<br />
occurs if the ‘distfile’ parameter points to a correction map.<br />
D.14.6 PARAMETERS<br />
infile [filename ]<br />
Input event file name. This file must contain <strong>BAT</strong> events, and have at least the columns<br />
TIME, MASK WEIGHT, DETX and DETY. <strong>The</strong> MASK WEIGHT column is overwritten<br />
by this tool, so the file must be writeable.<br />
attitude [string ]<br />
ra [real ]<br />
File name of Swift attitude history, or NONE if none is used.<br />
Right ascension of source in decimal degrees, or other source position coordinate, depending<br />
on coord type.<br />
dec [real ]<br />
Declination of source in decimal degrees, or other source position coordinate, depending on<br />
coord type.<br />
(aperture = “CALDB”)[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 />
(coord type = “sky”) [string ]<br />
Method of specifying the source coordinates. It should be one of: “sky”; “tanxy” (coordinates<br />
expressed in tangent-plane coordinates); “cartesian” (source at cartesian position in <strong>BAT</strong><br />
coordinates); “unit” (unit vector direction in <strong>BAT</strong> coordinates); “fswlonlat” (flight software<br />
phi and theta); “grmclonlat” (source at simulator longitude and latitude). All coordinate<br />
types but the first are specified in the instrument coordinate system.<br />
(rebalance = YES) [boolean ]<br />
If YES, then the mask weight map will be adjusted so that its additive mean is zero. If NO,<br />
then, the map will be written unadjusted.<br />
(corrections = “default”) [string ]<br />
Comma-separated list of corrections to apply to the mask weighting, or “none” if no corrections<br />
are to be applied. <strong>The</strong> possible corrections are:<br />
default Default corrections, which is shorthand for: “flatfield,ndets,pcode,maskwt”<br />
flatfield Apply corrections for cosine and edge projection effects