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.

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

(buffersize = 32768) [integer ]<br />

Size of internal event buffer for processing.<br />

(clobber = NO) [boolean ]<br />

If the output file already exists, then setting “clobber = yes” will cause it to be overwritten.<br />

(chatter = 2) [integer, 0 - 5 ]<br />

Controls the amount of informative text written to standard output. Setting chatter = 1<br />

produces a basic summary of the task actions; chatter = 2 (default) additionally prints a<br />

summary of input parameters; chatter = 5 prints debugging information.<br />

(history = YES) [boolean ]<br />

If history = YES, then a set of HISTORY keywords will be written to the header of the<br />

specified HDU in the output file to record the value of all the task parameters that were used<br />

to produce the output file.<br />

D.1.5 EXAMPLES<br />

MAKING LIGHT CURVES from EVENT DATA<br />

1. Uniform binning of 0.1 seconds in the 15-195 keV energy range (light curve is weighted i.e.<br />

background subtracted)<br />

batbinevt infile.evt outfile.lc LC 0.1 uniform 15-195<br />

(“uniform” binning means uniformly sampled (=0.1s) bins)<br />

2. Two-band light light curve for 15-50 and 50-195 keV (otherwise same as above)<br />

batbinevt infile.evt outfile.lc LC 0.1 uniform 15-50,50-195<br />

(the energy bins can be specified as either an ASCII list or a file name with the energy bins)<br />

3. Binning by constant signal to noise (threshold = 6 sigma)<br />

batbinevt infile.evt outfile.lc LC 0 snr 15-195 snrthresh=6.0<br />

(When the “snr” time binning method is specified, a zero time binning is ignored.)<br />

4. Binning by constant signal to noise (threshold = 6 sigma, maximum bin size of 10 seconds)<br />

batbinevt infile.evt outfile.lc LC 10 snr 15-195 snrthresh=6.0<br />

(When the “snr” time binning method is specified, a non-zero time binning indicates the maximum<br />

bin size that is imposed.)<br />

5. Selecting the times by hand (0.1 second uniform bins, 15-195 keV)

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

Saved successfully!

Ooh no, something went wrong!