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

heasarc.nasa.gov
from heasarc.nasa.gov More from this publisher
30.01.2013 Views

D.1. BATBINEVT 103 (Note that EBOUNDS extension from infile is used to generate energy bin edges.) 19. Accumulate total mask weighted spectrum with user-designed bins batbinevt infile.dph outfile.pha PHA 0 gti infile.dph maskwt=maskwt.img 20. Accumulate raw light curve from DPH (no mask weighting) batbinevt infile.dph outfile.lc LC 0 infile 14.0-194.9 weighted=no 21. Accumulate raw spectrum from DPH (no mask weighting) batbinevt infile.dph outfile.pha PHA 0 uniform infile.dph weighted=no MAKING DPHs and DPIs from EVENT DATA 22. Make total DPH from event data batbinevt infile.evt outfile.dph DPH 0 uniform myebounds.fits (myebounds.fits should contain the desired energy binning. A time bin size of 0 indicates that the total DPH should be constructed.) 23. Make total DPI from event data (15-195 keV) batbinevt infile.evt outfile.dpi DPI 0 uniform 15-195 24. Make many DPIs from event data (100 second binning) batbinevt infile.evt outfile.dpi DPI 100 uniform 15-195 (Output file is stored as one DPI per image extension.) One can also use: batbinevt infile.evt outfile.dpi DPITAB 100 uniform 15-195 (which will put many DPIs into one extension as a table.) 25. Making DPHs from event data is accomplished with this command batbinevt infile.evt outfile.dph DPH 0 uniform myebounds.fits (making more than one or two DPHs in this way is not recommended, since it requires a large amount of computer memory).

104 APPENDIX D. BAT SOFTWARE TOOL REFERENCE MANIPULATING and FLATTENING DPHs batbinevt can be used to “flatten” detector plane histograms in various ways. 26. Make total DPH (add all DPH rows into a single DPH row). batbinevt infile.dph outfile.dph DPH 0 uniform infile.dph (The energy binning of infile.dph means that the energy binning of the input file is preserved in the output). 27. Make total DPI (add all DPH rows into a single detector image). batbinevt infile.dph outfile.dpi DPI 0 uniform 14.0-194.9 (Only energies from 14.0-194.9 are kept in the detector image.) 28. Make one DPI for each DPH (flatten by energy) batbinevt infile.dph outfile.dpi DPITAB 0 infile 14.0-194.9 (“infile” time binning indicates to preserve input file time bins. The output file is a table of DPIs, one per FITS row). This command creates one DPI per image extension. batbinevt infile.dph outfile.dpi DPI 0 infile 14.0-194.9 (either is compatible with the batfftimage imaging software) 29. Make new DPHs by collapsing some energy bins. This command makes approximate bins from 15-25,25-50,50-100 and 100-200 keV. batbinevt infile.dph outfile.dph DPH 0 infile 14-26,26-51.1,51.1-101.2,101.2-194.9 (Note energy bins must agree to within 0.1 keV of input binning) It is not advisable to make more than one full-sized (>80 energy channels) DPH because the memory storage requirements are prohibitive. D.1.6 SEE ALSO extractor, batmaskwtevt, batmaskwtimg D.1.7 LAST MODIFIED Apr 2007

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

MANIPULATING and FLATTENING DPHs<br />

batbinevt can be used to “flatten” detector plane histograms in various ways.<br />

26. Make total DPH (add all DPH rows into a single DPH row).<br />

batbinevt infile.dph outfile.dph DPH 0 uniform infile.dph<br />

(<strong>The</strong> energy binning of infile.dph means that the energy binning of the input file is preserved<br />

in the output).<br />

27. Make total DPI (add all DPH rows into a single detector image).<br />

batbinevt infile.dph outfile.dpi DPI 0 uniform 14.0-194.9<br />

(Only energies from 14.0-194.9 are kept in the detector image.)<br />

28. Make one DPI for each DPH (flatten by energy)<br />

batbinevt infile.dph outfile.dpi DPITAB 0 infile 14.0-194.9<br />

(“infile” time binning indicates to preserve input file time bins. <strong>The</strong> output file is a table of<br />

DPIs, one per FITS row). This command creates one DPI per image extension.<br />

batbinevt infile.dph outfile.dpi DPI 0 infile 14.0-194.9<br />

(either is compatible with the batfftimage imaging software)<br />

29. Make new DPHs by collapsing some energy bins. This command makes approximate bins<br />

from 15-25,25-50,50-100 and 100-200 keV.<br />

batbinevt infile.dph outfile.dph DPH 0 infile 14-26,26-51.1,51.1-101.2,101.2-194.9<br />

(Note energy bins must agree to within 0.1 keV of input binning)<br />

It is not advisable to make more than one full-sized (>80 energy channels) DPH because the<br />

memory storage requirements are prohibitive.<br />

D.1.6 SEE ALSO<br />

extractor, batmaskwtevt, batmaskwtimg<br />

D.1.7 LAST MODIFIED<br />

Apr 2007

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

Saved successfully!

Ooh no, something went wrong!