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.

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

the PSF-fitting stage for intensity only (unless posfit=NO). Additional detected sources are also<br />

written to the output catalog.<br />

This task can operate on multiple images, as produced by batfftimage. If the images vary<br />

only in their energy range, and are otherwise identical in their coordinate systems and exposures,<br />

then the ‘vectorflux’ parameter can be set to YES. When vectorflux=YES, each source has only<br />

one catalog row, and multiple fluxes are recorded in a vector table cell. When vectorflux=NO, a<br />

source will appear multiple times in the catalog, with a single flux in each entry. Note that if the<br />

input images do not match exactly their coordinate system or exposures, then you must specify<br />

vectorflux=NO.<br />

To avoid spurious detections at the edge of the field of view, a partial coding threshold can be<br />

specified (see ‘pcodefile’ and ‘pcodethresh’). If a partial coding map is provided, then by default<br />

sources must be at least 1% coded.<br />

This routine uses a relatively straightforward brute-force convolution by FFT to compute the<br />

sliding-cell averages. Users should have a about a factor of eight more memory than the size of the<br />

image.<br />

Fitting For Position and Flux<br />

batcelldetect has several options to fit the positions and fluxes of sources. Newly detected and<br />

previously known sources are treated differently. By default, the positions of newly detected sources<br />

are allowed to vary and the those of previously known sources are held fixed. This behavior depends<br />

on the input parameters and the input catalog.<br />

<strong>The</strong> following behaviors are possible:<br />

srcfit=NO Perform source detection only. <strong>The</strong> positions and fluxes for all sources are not fit. For<br />

new sources, the positions are taken from the source detection stage. For previously known<br />

sources, the values are transferred from the input catalog completely unchanged.<br />

srcfit=YES; posfit=NO (DEFAULT) Hold the position of known sources fixed, but fit for the<br />

positions of new sources. <strong>The</strong> fluxes of all sources are fitted.<br />

srcfit=YES; posfit=YES; posfitwindow=0.0 Fit for the positions of all sources. <strong>The</strong> positions<br />

of known sources are allowed to vary within a window which is 3 times the ERR RAD<br />

value from the input catalog. Thus, if ERR RAD = 0, the position is held fixed. Special<br />

cases: if an individual value of ERR RAD is null, the position of that source is allowed to<br />

vary. If the ERR RAD column is missing entirely, the positions are assumed to be fixed. <strong>The</strong><br />

fluxes of all sources are fitted.<br />

srcfit=YES; posfit=YES; posfitwindow > 0 As above, except the positions of known sources<br />

are allowed to vary by ± 3*ERR RAD or ± posfitwindow, whichever is larger.<br />

As of May 2007, the <strong>BAT</strong> team recommends using the GAUSSIAN point spread function<br />

(FWHM=0.37413) for all <strong>BAT</strong> data throughout the mission. <strong>The</strong> previous recommendation to use<br />

the “PYRAMID” shape was not correct.<br />

D.2.4 CATALOG OUTPUT<br />

<strong>The</strong> output catalog contains the following columns. Other input columns are copied to the output<br />

unchanged. For new sources entries, the row is filled with null value before writing batcelldetectderived<br />

quantities.

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

Saved successfully!

Ooh no, something went wrong!