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.

192 APPENDIX E. <strong>BAT</strong> SOFTWARE REVISION HISTORY<br />

Output coordinates now include pixels (IMXPIX,IMYPIX), tangent-plane<br />

coordinates (IMX,IMY), and celestial (RA,DEC). Celestial<br />

coordinates are only produced if the input image has the proper WCS<br />

keywords attached (namely, if an attitude file was supplied to the<br />

batfftimage task). Parameter uncertainties are estimated for<br />

quantities (see _ERR columns). Also, the time, exposure, and other<br />

status parameters are written to the catalog.<br />

An input catalog is accepted (new incatalog parameter). Sources<br />

which are not in the field of view are removed from the catalog when<br />

transferred to the output. Sources which are in the field of view<br />

are retained, and fitted with fixed position during the PSF fitting<br />

stage. Known sources are also excluded from the pixel-detection<br />

stage.<br />

<strong>The</strong> imagemask parameter has been removed, in favor of the pcodefile<br />

and pcodethresh parameters. Now users can supply a partial coding<br />

map, or any map for that matter, and a threshold. Source detection<br />

outside the threshold region will be rejected.<br />

batdph2dpi -- MINOR CHANGES<br />

* Modified batdph2dpi.c to recognize the level_ranges string "1-3,5"<br />

as well as "1-3,5-5". Also called the subroutine headas_parstamp to add<br />

the HISTORY keywords to the dpi file generated.<br />

* Modified par file and code to change "rownumber" to<br />

"rows" and "level_ranges" to "levels"<br />

* Fixed bug that caused program to crash if it was trying<br />

to overwrite an existing file with clobber=no. Also replaced a loop of<br />

calls to fits_read_col by a more efficient single call.<br />

bateconvert -- SIGNIFICANT CHANGES<br />

Added code to perform a quadratic correction to the linear gain conversion<br />

already in the code. If calmode = QUADRATIC, then two new files are read<br />

in: residfile, which contains the residuals between the quadratic and<br />

linear gain fits, and pulserfile, which contains the gain coefficients<br />

between electronic pulser and energy. <strong>The</strong> linear correction is still<br />

performed and the quadratic correction added to it.<br />

batevt2dpi -- MINOR CHANGES<br />

Changed binning expression to correct a bug in the previous script.<br />

batfftimage - CHANGED<br />

<strong>The</strong> tool already accepts and uses the spacecraft attitude file (and

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

Saved successfully!

Ooh no, something went wrong!