About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: 21 February 2007

URL: http://cxc.harvard.edu/ciao3.4/why/lightcurve.html
Hardcopy (PDF): A4 | Letter

Timing Analysis with Lightcurves


This document discusses caveats that one should be aware of when doing timing analysis on Chandra data. The CIAO Timing Threads - primarily the Basic Lightcurves thread - show how to create and use lightcurves in your analysis.


Tool: dmextract vs. lightcurve

As of CIAO 3.0, the lightcurve tool will no longer be actively maintained or enhanced. Users instead are encouraged to create lightcurves with the new functionality of dmextract, which more carefully and accurately applies good time interval (GTI) information. More information is available from the help files for dmextract and lightcurve

This lightcurve command:

unix% lightcurve infile="acis_evt2.fits[ccd_id=3,sky=region(src.reg)]" \
      outfile="lightcurve.fits" binlength="259.28"

becomes the following for dmextract:

unix% dmextract \
      infile="acis_evt2.fits[ccd_id=3,sky=region(src.reg)][bin time=::259.28]" \
      outfile="lightcurve.fits" opt="ltc1"

Barycenter Correction

In general, a barycenter correction should be applied to any data before it is used for timing analysis. Barycentering adjusts the times associated with the observation (both the times associated with the events and the times in the header keywords) for the difference in photon arrival times as the Earth and Chandra move around the Sun. For more information on barycenter-correcting times, see the Apply Barycenter Correction thread.

ACIS Lightcurves

The simplest lightcurve we can create is from a point source in ACIS data. This is generally done to get an idea of the variability of the source, or to look for background flares that should be filtered out.

Caveats:

HRC Lightcurves

The proper method of creating an HRC lightcurve requires accounting for the Dead Time Factor (DTF), as illustrated in the Basic Lightcurves thread.

Caveats:

Timing with ACIS CC-Mode Data

The ACIS continuous clocking mode may also be used for timing analysis. Observing in this mode produces a 1-D "image" of the sky by continually reading out the detector at a rate of 2.85 msec/row.

Caveats:

Timing with an ACIS Readout Streak

Bright sources observed by ACIS are typically problematic in data reduction, but the "readout streak" may be considered an exception. As it does not have a shutter, ACIS continues to detect photons while reading out a frame (which takes ~41 msec/frame). During this short time, it is probable that photons from bright sources (e.g. a 1 count/s point source) will strike the detector. These events will be read with CHIPY values offset from the nominal position of the source, forming a streak along the direction of readout.

The acisreadcorr tool was designed to find these "out-of-time" events. Once flagged, the events may be filtered or corrected; see the Remove the ACIS Readout Streak thread for more information. Since the CHIPY value of an out-of-time event is related to its arrival time, a high-resolution lightcurve may be generated with the corrected photons.

The temporal resolution of this lightcurve is limited by the frame transfer rate of ~41 msec/frame. However, since the corrected time is based on the assumption that all photons originate from the center of the source, the error will be proportional to the size of the source. As mentioned in the ahelp file, the accuracy of these times has not been rigorously tested, so use caution when performing timing analysis with these events.

Precise, Flux-Calibrated Lightcurve

The most dependable method of calculating fluxes is to model the response-folded source spectrum. This will give an intrinsic flux [ergs/cm2/s], instead of a simple count rate [count/s]. Moreover, one may plot source spectral parameters (the slope of a power law, line FWHM, etc.) versus time for a more detailed study of the nature of the source variation. The Create a Phase-binned Spectrum thread shows how to extract the data.

In general, creating a flux-calibrated lightcurve is uncomplicated, but time-consuming. First, extract spectra for the times of interest; one spectrum is needed for every datapoint in the final lightcurve. Each spectrum is then fit with a source model in Sherpa and the integrated flux is calculated for a given energy range. Each flux value will be calibrated and based on the appropriate GTIs. Finally, the flux value for each of the fits can be manually written to a file for plotting in ChIPS; the file should have two columns -- time and flux (the best-fit parameter value).

Hardcopy (PDF): A4 | Letter
Last modified: 21 February 2007


The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.