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.

56 CHAPTER 6. <strong>BAT</strong> ANALYSIS ISSUES<br />

This is a logic error within the batoccultgti script.<br />

<strong>The</strong> workaround is to supply a minimal partial coding constraint. For example, use the command<br />

line parameter, “pcodethresh=0.011”.<br />

6.2.2 batbinevt: ignores standard 4-channel energy bins<br />

Task: batbinevt<br />

<strong>Version</strong>: CALDB release on 27 Jun 2007<br />

What builds: Any build with above CALDB release<br />

Problem: Specifying CALDB:4 for standard 4-channel energy bins does not work<br />

Status: Fixed (Swift CALDB release <strong>30</strong> Jul 2007)<br />

Updated: <strong>30</strong> Jul 2007<br />

NOTE: This issue was resolved with the Swift CALDB release on <strong>30</strong> Jul 2007. Users are<br />

advised to download this new CALDB release.<br />

<strong>The</strong> <strong>BAT</strong> team maintains “standard” energy bins in the Calibration Database (CALDB). <strong>The</strong>re<br />

are two sets: a 4-channel set, usually for light curves, and an 80-channel set, usually for spectra.<br />

<strong>The</strong>se two sets of energy bins are selected on the command line with energybins=CALDB:4 or<br />

CALDB:80.<br />

An error in a recent CALDB submission has caused this feature to stop working. <strong>The</strong> problem<br />

is an unrelated file that also has an EBOUNDS extension, which confuses the batbinevt CALDB<br />

access routines. <strong>The</strong> result is that if the user requests CALDB:4, i.e. standard 4-channel binning,<br />

batbinevt produces 80 energy bins instead.<br />

While the problem appears to be a problem in the software, the true problem is in the CALDB.<br />

A revised CALDB version (dated <strong>30</strong> Jul 2007) is available from <strong>HEASARC</strong>.<br />

<strong>The</strong>re are two workarounds if it is not possible to use the <strong>30</strong> Jul 2007 CALDB release:<br />

1. Revert to a previous version of CALDB;<br />

2. Specify the four-channel bins explicitly (the bins in keV are ”energybins=15-25,25-50,50-<br />

100,100-350”).<br />

6.2.3 batbinevt: DPH rows with fractional exposure are not accounted for<br />

properly<br />

Task: batbinevt<br />

<strong>Version</strong>: 1.38 and earlier<br />

What builds: HEASoft 6.2 and earlier<br />

Problem: DPHs made by batbinevt with fractional exposure can’t be fed back into batbinevt<br />

Status: Closed (HEASoft <strong>6.3</strong>)<br />

Updated: 17 Jul 2007<br />

NOTE: this bug was fixed in HEASoft version <strong>6.3</strong>.<br />

batbinevt can be used to “sum” many different detector plane histograms (DPHs) and produce<br />

a single output DPH. However, this DPH cannot normally be re-input to batbinevt, because the<br />

task makes a fundamental assumption that individual input DPHs are contiguous in time.<br />

For example, consider a file with two DPH entries from two disjoint times.<br />

csh> ftlist file.dph T columns=TIME,EXPOSURE

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

Saved successfully!

Ooh no, something went wrong!