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.
102 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />
12. Binning by constant signal to noise (threshold = 6 sigma)<br />
batbinevt infile.evt outfile.pha PHA 0 snr myebounds.fits snrthresh=6.0<br />
(<strong>The</strong> threshold applies to total spectrum, not any one bin.)<br />
13. Selecting the times by hand<br />
batbinevt infile.evt outfile.pha PHA 0 uniform myebounds.fits tstart=$START tstop=$STOP<br />
(Only includes data from $START to $STOP)<br />
14. Applying your own binning, say from Bayesian Blocks analysis (must make a Good Time<br />
Interval (GTI) named mygti.gti)<br />
batbinevt infile.evt outfile.pha PHA 0 gti myebounds.fits gtifile=mygti.gti<br />
(<strong>The</strong> “gti” time binning means that the bins are taken from the GTI file. When the time<br />
binning is not “gti” the GTI file is still useful to select data by time.)<br />
15. Unweighted spectrum (with no background subtraction)<br />
batbinevt infile.evt outfile.pha PHA 0 uniform myebounds.fits weighted=no<br />
(<strong>The</strong> weighted parameter decides whether mask weighting is applied or not.)<br />
16. Change output units to counts instead of counts/s.<br />
batbinevt infile.evt outfile.pha PHA 0 uniform myebounds.fits outunits=count<br />
(<strong>The</strong> outunits parameter can be either COUNT or RATE.)<br />
MAKING LIGHT CURVES and SPECTRA from DPHs<br />
17. Accumulate mask weighted light curve from DPH (must have generated mask weight image<br />
maskwt.img for source position of interest)<br />
batbinevt infile.dph outfile.lc LC 0 infile 14.0-194.9 maskwt=maskwt.img<br />
(Note that energy bins must be exact to within 0.1 keV. <strong>The</strong> “infile” for the time binning<br />
algorithm indicates that the input file binning should be replicated in the output.)<br />
18. Accumulate total mask weighted spectrum from DPH<br />
batbinevt infile.dph outfile.pha PHA 0 uniform infile.dph maskwt=maskwt.img