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.3. <strong>BAT</strong>CLEAN 119<br />
• <strong>The</strong> user can also use this parameter to supply a file or list of files containing user-developed<br />
background models to be fit. This can be input as either a comma-separated list of model<br />
files or a text file (preceded by the “@” symbol) containing a list of input model files, one per<br />
line. <strong>The</strong>se model files must be image files in the same format as a <strong>BAT</strong> DPI (286 columns<br />
by 173 rows). <strong>The</strong>re are no required keywords. If a model file is not found or is not an<br />
image file, the code will ignore it. <strong>The</strong> comment fields of the BGPARnn keywords contain<br />
the model names. If an optional MODNAME is supplied, then its value becomes the model<br />
name in the comment field. If this keyword is not present, then the model name is the name<br />
of the file (not including the path). <strong>The</strong> default behavior of the code is to fit the simple<br />
model in addition to any user supplied models. <strong>The</strong> user does not need to also include the<br />
string “simple” in the bkgmodel parameter list. If, however, the user wishes to fit ONLY the<br />
user-supplied models and not the simple model, then he can request this by adding the string<br />
“useronly” to the bkgmodel parameter list. See examples below. Finally, it is possible not to<br />
fit any model at all, but simply to balance the array (using the balance parameter below. To<br />
do this set bkgmodel=none. Note that if the user selects outversion=“fit” or “bkgfit”, then<br />
no balancing is performed regardless of the value of the balanceparameter.<br />
(srcclean) = “YES” [boolean ]<br />
Determines whether sources are cleaned from the input DPI or only background. If this<br />
parameter is “YES,” then an incatalog andaperture file must be supplied.<br />
(cleansnr) = 6.0 [real ]<br />
Only sources with a signal-to-noise ratio as read from the incatalog higher than this value are<br />
cleaned from the DPI. If no sources have a signal-to-noise ratio above the cleansnrvalue, then<br />
only the background will be cleaned.<br />
(snrcol = “SNR”) [string ]<br />
Name of catalog column to be used with ‘cleansnr’ for signal to noise thresholding. By default<br />
it is “SNR”, but any column can be used to trigger cleaning.<br />
(ignore) = “UNKNOWN” [string ]<br />
Unless this parameter is set to “NONE” or “none,” the cleaning code will not clean any<br />
source in incatalog whose NAME matches theignore string. <strong>The</strong> user can either specify a<br />
particular source name, the strings “IGNORE” or “NONE”, or the name of a file (preceded<br />
by “@”). If a file name is supplied, then the file must contain a list of sources to be ignored,<br />
once source per line. Note that source names to be ignored must match exactly (including<br />
spaces, capitalization, etc.) the names in the catalog.<br />
(balance) = “none” [string ]<br />
Unless this parameter is set to “NONE” or “none,” the cleaning code will, after cleaning,<br />
also balance the entire array or subsets of the array as specified below. Balancing means<br />
subtracting the mean for a set of detectors from the values for that set of detectors. In other<br />
words, it sets the average for the detectors to zero. If a detector mask (detmask) is given,<br />
then only non-masked detectors are included in the balancing.<br />
• <strong>The</strong> balancing that is requested is given by supplied a comma-separated list of any or all of<br />
the following values. <strong>The</strong> balance is performed in the order in which the values are listed.<br />
Balancing is not commutative, so order is significant. Allowed balance values:<br />
– none: No balancing.