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.

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

calculations. <strong>The</strong> keyword for autocollimation correction is now<br />

ACOLAPP instead of ACOLCOR.<br />

batgse2dpi -- MINOR CHANGES<br />

Changed some array allocations to allow compilation on other operating<br />

systems. Fixed bug in the code that was improperly indexing the<br />

window cut arrays if there were missing rows in the windows lookup<br />

table. Now the code reads and uses the block/dm/side/det values in the<br />

windows table for indexing.<br />

bathotpix - MINOR CHANGES<br />

Some changes to support a new library routine for reading images.<br />

batid2xy -- MINOR CHANGES<br />

Added more functionality to the tool to allow the user to specify<br />

detector by DETX/DETY and detector ID as well as Block, DM, Side,<br />

Detector.<br />

batmasktaglc -- SIGNIFICANT CHANGES<br />

Changed much of how the mask weighting is read in and used. Changed<br />

the algorithm by which source, background and errors are calculated.<br />

Added background column. Generally cleaned up the code. Added caldb<br />

access.<br />

batmasktagpha -- MINOR CHANGES<br />

Added caldb access. Fixed some bugs in the code.<br />

batmaskwtimg/evt - CHANGED<br />

<strong>The</strong>re a number of new corrections that can be applied in the mask<br />

weight calculation: flatfield (combined cosine projection, r-squared,<br />

and side illumination effects), pcode (partial coding), ndets (number<br />

of detectors), cosine (cosine projection effect only), rsquare<br />

(r-squared effects only). <strong>The</strong> user can also choose unbalanced images<br />

(0 to 1) instead of balanced (-1 to 1). <strong>The</strong> user can choose which<br />

direction the weights should apply: backward (default) or forward.<br />

’forward’ creates a mask weight map which most closely resembles the<br />

true detector plane image; while ’backward’ is meant for use in mask<br />

weighted sums.<br />

<strong>The</strong> detmask parameter has been added, to aid in calculating the ndets<br />

correction. CALDB access routines have been added (via batutils) to<br />

read the aperture and teldef files.

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

Saved successfully!

Ooh no, something went wrong!