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.

D.19. <strong>BAT</strong>TBLOCKS 181<br />

For these measures, the user can request that battblocks perform background subtraction.<br />

<strong>The</strong> background is estimated based on the first and last Bayesian block intervals, and linearly<br />

interpolated to other points.<br />

<strong>The</strong> global analysis time grows quadratically: as the input file size doubles, the computation<br />

time quadruples, and so on. Users can perform a local Bayesian block analysis by setting tlookback<br />

to a non-zero time window size. Only data within the time window at a particular instant are<br />

considered for the analysis at that instant. When tlookback is used, the resulting blocks are<br />

analyzed in a second pass to further consolidate blocks larger than the window size. Users of event<br />

data can also adjust the ‘nspill’ parameter to decimate the events, at the expense of decreasing the<br />

time resolution proportionately.<br />

D.19.4 PARAMETERS<br />

infile [filename ]<br />

Input file name containing event data or light curve data. Events must be sorted in increasing<br />

time order. Light curve data must be OGIP-format (containing the HDUCLASn keywords),<br />

and either have the columns TIME and COUNTS (binned counts); or TIME, RATE and<br />

ERROR (binned data with error bars). Only single channel light curves are supported.<br />

outfile [filename ]<br />

Name of output good time interval file.<br />

(durfile = ‘NONE’) [filename ]<br />

Name of output duration measures. If durfile is ‘NONE’ then the duration measures are not<br />

computed or written. GTI tables with extensions ‘GTI T90’, ‘GTI T50’ and ‘GTI PEAK’<br />

are created.<br />

(nspill = 128) [integer ]<br />

Number of events to skip per analysis cell. ‘nspill’ events are grouped into one cell before<br />

Bayesian analysis. Ignored for binned data.<br />

(gaussian = INDEF) [string ]<br />

Boolean which determines whether the Bayesian blocks computation is performed using Gaussian<br />

statistics or not. A value of INDEF causes battblocks to use Gaussian statistics for<br />

background-subtracted light curves, and Poissonian statistics otherwise. If “yes”, then the<br />

ERROR column must exist in the input file. Ignored for event data.<br />

(txx = 0.0) [real ]<br />

User-specified percentage of burst to estimate the duration for. By default 90% (GTI T90)<br />

and 50% (GTI T50) fluence intervals are computed, but users can choose another percentage<br />

point as well (stored as GTI TXX). <strong>The</strong> interval is not estimated if txx is set to 0.0.<br />

(tpeak = 1.0) [real ]<br />

Size of sliding window, in seconds, used to determine the interval of the peak count rate.<br />

(tlookback = 0.0) [real ]<br />

A non-zero value indicates the lookback time window in seconds, for the local bayesian block<br />

analysis. Smaller values will run faster, at the expense of generating more blocks (no block<br />

will be larger than tlookback). <strong>The</strong> lookback time is converted to a number of samples

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

Saved successfully!

Ooh no, something went wrong!