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.

<strong>6.3</strong>. OLD ISSUES 65<br />

<strong>6.3</strong>.8 XSPEC crashes with segmentation fault with <strong>BAT</strong> spectra<br />

Task: XSPEC<br />

<strong>Version</strong>: 11.3.2<br />

What Builds: HEASOFT 6.0 (including Swift 2.0)<br />

Problem: XSPEC crashes with Type II spectral data<br />

Status: Closed Swift 2.1<br />

This problem has been solved in the Swift 2.l release.<br />

It was recently discovered that XSPEC version 11.3.2 crashes when reading <strong>BAT</strong> data with<br />

a segmentation fault error. This bug occurs for any “Type II” spectral file, but only on certain<br />

platforms (e.g. Linux and Solaris). <strong>Version</strong> 11.3.2 is the version released in HEASOFT 6.0. XSPEC<br />

version 12 is not affected by this bug.<br />

Currently the best solution is to obtain a software patch from http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/x<br />

and recompile XSPEC.<br />

Another workaround is to add the XFLTNNNN keywords where NNNN ranges from 1 to 10.<br />

This can be done with the following C-shell commands:<br />

foreach num (01 02 03 04 05 06 07 08 09 10)<br />

fthedit myfile.pha XFLT00${num} add value=${num}<br />

end<br />

<strong>6.3</strong>.9 baterebin: Possible extra rows in EBOUNDS extension of output DPH<br />

Task: baterebin<br />

<strong>Version</strong>: Previous to 6.0<br />

What Builds: Swift 2.0 and earlier<br />

Problem: Bug leaving extra rows in EBOUNDS extension in some circumstances<br />

Status: Close Swift 2.1<br />

Updated: 20 Jul 2005<br />

baterebin is used to reset the energy scale for survey histograms accumulated on-board. This<br />

can improve the survey performance since typically the ground knowledge of the energy scale is<br />

better than the flight system provides. baterebin can “rebin” the output survey DPH to into a<br />

smaller number of bins.<br />

If the number of energy bins in the output DPH is less than the number of rows (time bins) in<br />

the input DPH, the EBOUNDS extension of the output DPH will have extra rows with spurious<br />

energy bounds (left over from a copy of the input DPH).<br />

batbinevt will crash with erroneous energy bounds.<br />

<strong>The</strong> workaround is to delete the extra rows in the EBOUNDS extension before running batbinevt<br />

or other processing.

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

Saved successfully!

Ooh no, something went wrong!