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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.2. CURRENT ISSUES 57<br />

TIME EXPOSURE<br />

s s<br />

1 145293915.000000 360.000000000000<br />

2 145294995.000000 244.000000000000<br />

This file has two exposures separated by about 700 seconds. It is possible to use batbinevt to<br />

combine these entries into a single DPH, like this,<br />

csh> batbinevt file.dph summed.dph DPH 0 uniform INFILE chatter=5 clobber=YES<br />

csh> ftlist summed.dph T columns=TIME,TIME_STOP,EXPOSURE<br />

TIME TIME_STOP EXPOSURE<br />

s s s<br />

1 125293915.000000 125295239.000000 604.000000000000<br />

<strong>The</strong> “0 uniform” portion of the command line causes batbinevt to sum all input DPHs into<br />

a single output DPH. <strong>The</strong> new file, summed.dph, has the correct start and stop time, and the<br />

exposure is correct as well. A check of the good time interval (GTI) extension shows that it is also<br />

correct.<br />

Everything looks fine. However, this file cannot be re-input to batbinevt, because batbinevt<br />

makes a fundamental assumption that DPHs are always contiguous in time.<br />

csh> batbinevt summed.dph summed.dpi DPI 0 u 14-194.9 chatter=5 clobber=YES<br />

csh> ftlist summed.dpi K | grep EXPOSURE<br />

EXPOSURE= 1324. / [s] Accumulated on-time<br />

<strong>The</strong> exposure has now increased incorrectly to 1324 from 604 seconds.<br />

<strong>The</strong> work-around procedure is to not sum the input DPHs into a single output DPH. Instead,<br />

use the INFILE time binning option to merge but not sum the inputs. <strong>The</strong> result will be a single<br />

file with multiple DPHs which can be operated on normally.<br />

csh> batbinevt file.dph merged.dph DPH 0 INFILE INFILE chatter=5 clobber=YES<br />

While this example is rather meaningless for a single input file, it will permit multiple input<br />

files to be merged. <strong>The</strong> merged file can be input to batbinevt if desired.<br />

6.2.4 batcelldetect: newly detected sources may be deleted<br />

Task: batcelldetect<br />

<strong>Version</strong>: 1.50 - 1.55<br />

What builds: HEASoft 6.2 and earlier<br />

Problem: Newly detected sources may mysteriously disappear<br />

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

Updated: 24 Apr 2007<br />

NOTE: This bug was fixed in HEASoft <strong>6.3</strong> (task version 1.56 and greater).<br />

A bug in the CFITSIO library may cause newly detected sources to “disappear” from the<br />

output catalog. <strong>The</strong> problem occurs with the operation of the “keepbadsources” parameter, which

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

Saved successfully!

Ooh no, something went wrong!