| RXTE GOF |
Reduction and Analysis of PCA Event-Mode Data Recipes from the RXTE Cook Book |
RXTE FAQ |
|---|
After a brief preamble on the nature of Event mode itself, this recipe outlines all the steps in producing and analyzing spectral data from the PCA Event modes. Where appropriate, links are provided to more detailed information, the aim here being to provide a check-list of all the things that need to done.
To begin with, it's worth repeating a statement from the recipe Reduction and Analysis of PCA Spectra: The only good reason to use a configuration other than Standard-2 for spectral analysis is to obtain temporal resolution better than the 16 seconds of Standard-2. Event modes do provide spectral information on shorter time scales, hence this recipe.
In brief, Event modes (e.g. E_62us_64M_0_1s_L1R1) differ from binned modes (e.g. Standard-2) in that:
Here we sketch all the steps involved in producing the files needed by xspec, namely, source and background spectra and a response. To avoid confusing generalities, this example assumes that your observation is of an X-ray burster.
Another thing you can determine from the number of PCU on is when the SAA passages occur. At these times, all PCU are turned off, so NUM_PCU_ON goes to zero.
To list all the columns in a filter file, use the ftool flcol. For more information about plotting, please check the recipe Plotting with PLT.
Note that all but the earliest RXTE data files have two extensions called GTI, the first of which contains the times when:
The second GTI extension includes time when only the first of the above apply.
These GTI are applied by answering "APPLY" to the seextrct prompt Input GTI files to be OR'd. Filtering with only the GTIOR file, however, is not usually sufficient, which is why we recommend making a GTIAND file using the selection criteria discussed above. Mainly, this is because the SAA passages may not occur exactly as predicted, nor do the Earth occults; in addition, the GTIOR's criterion for determining occults does not take into account possible bright Earth effects.
To make your own GTI file to be AND'ed in the extractor, use the tool maketime. This tool will make a FITS GTI file from any FITS file with a time column and other columns from which to select. It will take either Fortran or C style. For example, to filter out occults and bright Earth, slews, and times where all PCU's are off during SAA and only three are on otherwise:
Note that the tool is case insensitive with regard to column names and that the last input must be changed from the default 'yes' to 'no' for XTE data. This file can then be put into either saextrct or seextrct as the GTI file to be AND'ed.
For analysis of faint sources, we recommend the additional expressions (TIME_SINCE_SAA > 30 || TIME_SINCE_SAA < 0.0) && ELECTRON2 < 0.1, which will filter out data within thirty minutes of the peak of SAA and that with high electron contamination.
In this example, we'll assume that plotting the filter file revealed that PCU4 was off during some of the observation and that our configuration allows us to select only those PCUs (0-3) that were on all the time. So we need a bitmask which will strip out all of the PCU4 events; we may be able to apply it directly in the extractor, or we may have to fselect first. (See recipe.)
Plot your light curve with "fplot offset=yes", entering TIME as the x-axis and RATE[ERROR] as the y-axis. Looking at the plot:
In general, you run a Perl script, runpcabackest, to drive pcabackest to produce a set of datafiles that match your Standard-2 files but contain synthesized background data. But please note:
Spectral analysis of Event-mode spectra with xspec is not fundamentally different from spectral analysis of Standard-2, as described in the recipe Reduction and Analysis of PCA Spectra. Note, however, that the PCU gain alignment results in folded models that look more ragged than you'd expect from noise. This is just an artifact.
Introduction
Event Modes
Together, these differences are so profound that Event and Binned modes require separate extractors: saextrct for Binned modes, seextrct for Event modes. [Strictly, the distinction is not between Event and Binned modes, but between Science Event and Science Array formats.]
Reduction of Spectral Data
PCU0_ON
PCU1_ON
PCU2_ON
PCU3_ON
PCU4_ON
NUM_PCU_ON
Periods where the number of PCUs on is different should be reduced separately and combined later - see the recipe Combining 3-PCU, 4-PCU and 5-PCU Spectra for details.
olegacy [84] [day] ~: maketime
Name of FITS file and [ext#][] FP_3c7a9f5-3c855c1.xfl
Name of output FITS file[] basic.gti
Selection Expression[] elv.gt.10.and.offset.lt.0.02.and.num_pcu_on.eq.3
Column containing HK parameter names[NAME]
Column containing HK parameter values[VALUE]
Column containing HK parameter times[TIME]
Flag, yes if HK format is compact[yes] no
Then run timetrans to generate time filters. Here, we'll call then peak.tint and preburst.tint.
peak_0123.pha preburst_0123.pha
pcus0123_961029.rsp
Note that pcarsp will automatically apply the PCU gain alignment to the response at this point.
Spectral Analysis
If you have a question about RXTE, please send email to one of our
help desks.

