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.

5.6. LIGHT CURVE FROM EVENT DATA 39<br />

Figure 5.2: Schematic diagram of binning event data using the batbinevt task. It can be used to<br />

create light curves, as well as spectra and images.<br />

We will use the original event list of GRB 050713A as an example (obsid 00145675 000). <strong>The</strong><br />

event data should have been ray-traced by the SDC using the position of the GRB. Energy calibrations<br />

should also have been applied. See the Mask-Weighting and Energy Correction threads<br />

for more information.<br />

5.6.2 Change into Event Directory<br />

Change directories to the location of the event data.<br />

cd 00145675000/bat/event<br />

5.<strong>6.3</strong> Make the light curve<br />

<strong>BAT</strong> light curves are made with the ‘batbinevt’ task. Here is an example:<br />

batbinevt infile=sw00145675000bevshsp_uf.evt.gz outfile=onesec.lc outtype=LC \<br />

timedel=1.0 timebinalg=u energybins=15-150 \<br />

detmask=../hk/sw00145675000bcbdq.hk.gz clobber=YES<br />

• the infile is the input events file<br />

• the outifle is the output light curve<br />

• the outtype=LC means make a “light curve”<br />

• the timedel=1.0 means make 1 second time bins<br />

• the timebinalg=u means make them uniform bins (instead of variable sized bins)<br />

• the energybins=15-150 means make a 1-channel light curve from 15-150 keV<br />

• the detmask is required to filter out noisy detectors

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

Saved successfully!

Ooh no, something went wrong!