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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
120 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />
– All: <strong>The</strong> entire array is balanced (1 balancing of 32768 detectors).<br />
– Module: Each of the 256 detector modules is separately balanced.<br />
– InOut: Each module has its inner detectors balanced and in separate operations, its<br />
outer detectors balanced.<br />
– Edges: Each module has only its outer (or edge) detectors balanced.<br />
– LongEdges: <strong>The</strong>re are 32 balancings of the long edges of all modules in a row across the<br />
array.<br />
– ShortEdges: <strong>The</strong>re are 32 balancings of the short edges of all modules in a column across<br />
the array.<br />
– flight: Reproduce the flight code balancing, by doing first the Edges, then the InOut<br />
balancing.<br />
<strong>The</strong>re is further illumination of the balancing in the comments in the code.<br />
(balfirst) = “no” [boolean ]<br />
Normally, balancing is done after cleaning. However, by setting this parameter to “yes” then<br />
balancing can be done before cleaning.<br />
(maskfit) = “no” [boolean ]<br />
If this parameter is set to “YES” and outversion=“fit” then the output file contains the fit<br />
parameters for all detectors even those masked using a detmask. <strong>The</strong> default behavior is that<br />
the fit is output only for unmasked detectors. Detectors will still masked for cleaning and<br />
balancing when this option is selected.<br />
(leadedge) = “NO” [boolean ]<br />
If this parameter is set to “YES,” then the leading edge detectors (those on the two edges<br />
of detector module sides facing toward the source) are fit separately from the rest of the<br />
detectors. Since the current forward projection code does not correctly handle these edge<br />
detectors, setting this parameter does not significantly affect the overall clean.<br />
(eff edge) = 0.2 [float ]<br />
<strong>The</strong> depth of edge (cm) to consider effective. Range from 0.03 to 0.2<br />
(corrections = “none”) [string ]<br />
Comma-separated list of corrections to apply to the mask weighting, or “none” if no corrections<br />
are to be applied. Note that corrections are only applied to the forward projection for<br />
sources. This parameter has no effect if only the background is to be cleaned.<br />
• Possible correction types are: “flatfield” (basic flat fielding correction accounting for both<br />
cosine-type and r-squared-type effects); “nearfield” (for ground testing results where the<br />
source is at a finite distance – requires bat z != 0); “cosine” (cosine effects of off-axis illumination<br />
only); “rsquare” (r-squared effects only); “opaque” (activates a new algorithm for<br />
calculating the mask transmission function); “sides” (effects of sides of detectors XXX not<br />
implemented).<br />
(outversion) = “cleaned” [string ]<br />
This optional parameter indicates what detector plane image is written to the outfile. <strong>The</strong><br />
default is to write the cleaned DPI (input minus fit). Other options are: