| RXTE GOF |
Selecting PCA Data by PCU, Layer and Anode Recipes from the RXTE Cook Book |
RXTE FAQ |
|---|
The individual PCU have slightly different gains. For most PCA configurations - i.e. those which combine PCU - the individual gains are aligned to a common scale by on-board software before telemetry. However, for Standard-1, Standard-2, Good Xenon and Transparent configurations, the individual gains are uncorrected. This means that to avoid blurring the response, thereby reducing spectral resolution, data from the individual PCU should be analyzed separately. [But note that combining PCU obviously improves signal-to-noise which is often more important than improving resolution by separating the PCUs. In this case, pcarsp will take these factors into account.]
For science array data selecting by PCU, layer or anode amounts to the same thing: specifying to saextrct the columns corresponding to your selection.
Decide from which PCU, layers or anodes you want to extract data.
Create an ASCII file listing the columns you want. One name per line, ending with a carriage return. For example, the list of Standard-2 columns
Enter the name of the column list, prefaced with an @-sign at the saextrct prompt
For science event data selecting a particular PCU or anode entails applying the corresponding bitmask either in fselect or in seextrct. For your convenience, we have produced a set of the most common bitmasks needed for GoodXenon and other event modes. If one of these will suit your purpose, you may avoid using sefilter, which is the script which will produce these if you know the correct event token values. This recipe will describe how to use one of these bitmasks for the novice user.
If you don't find the bitmask you need, we have a general recipe for using sefilter and the DDL which is meant for users who need something we haven't anticipated. This script calls sebitmask to create, using the values you specify, an expression which either fselect or seextrct may read. In order to get the correct result from this tool, it is important that you understand both the DDL in general and your data descriptor in specific.
Introduction: Why Select by PCU, Layer and Anode?
For various operational reasons, not all PCUs may be turned on at the same time. If this is the case with your data, it's prudent to extract light curves and spectra only from periods when the number of operating PCUs doesn't change. For spectral analysis, this separation is necessary in order to form the correct response matrix.
Science Array Data:
Verify the names of the columns in your data files by running the ftool flcol on a sample file. In the case of a Standard-2 file, you'll get:
(GOOD):[GOOD]
Name of FITS file and [ext#][] standard2.fits
___Column_Names_________Formats______Dims______Units___
Time D s
X1LSpecPcu0 129I (129) count
X1RSpecPcu0 129I (129) count
X2LSpecPcu0 129I (129) count
X2RSpecPcu0 129I (129) count
X3LSpecPcu0 129I (129) count
X3RSpecPcu0 129I (129) count
X1LSpecPcu1 129I (129) count
X1RSpecPcu1 129I (129) count
X2LSpecPcu1 129I (129) count
X2RSpecPcu1 129I (129) count
X3LSpecPcu1 129I (129) count
X3RSpecPcu1 129I (129) count
. . . .
. . . .
. . . .
Standard-2 is the only science array configuration that offers full PCU and anode ID. The column X1LSpecPcu0, for example, corresponds to the left anode of the first (top) layer of PCU0. By contrast, Standard-1 only provides PCU ID. Its columns have names like XeCntPcu0.
X1LSpecPcu0
X1RSpecPcu0
X1LSpecPcu1
X1RSpecPcu1
X1LSpecPcu2
X1RSpecPcu2
corresponds to the top-layer of PCU0-2
Name of COLUMNS to be accumulated
Science Event Data:
% fselect
Name of FITS file and [ext#][] obs_01_01_gx0
Name of output FITS file[] obs_01_01_gx0_d0124
Selection Expression[] @bitfile_d0124
This may take some time, as fselect must compare every event in that file with the expression stored in the bitfile.
If you have a question about RXTE, please send email to one of our
help desks.

