pca_bs -- rudimentary RXTE PCA background subtraction using scalings
pca_bs -[bcdhilptx]
The pca_bs script provides rudimentary RXTE PCA background subtraction by using PCA anode layer information. This subtraction is not considered as sophisticated as pcabackest for most situations.
The user provides
a list of input files in the fits_files.txt format a root for the output filenames the binsize in seconds for the light curves an (optional) filename for an ASCII file containing time information (e.g. a TIMETRANS output file)
and the PCA_BS will construct light curves in each of 6 energy bands for Layer 1 and for Layer 2+3. It will then subtract the Layer 2+3 'background' from the Layer 1 'source' with the appropriate scalings, as defined by the Arnold Rots/Keith Jahoda recipe for PCA lightcurve background subtraction for faint sources. (This memo is required reading before running this task.)
The channels are hardwired in, but can be changed by editing the perl script itself.
The p(i) and q(i) constants from the memo are set up on the first page of the code, just under the startup banner, and can be changed there if updated numbers are given. The script currently chooses the proper p and q coefficients based on the observation date.
The X(i) constants from the memo can be subtracted out too. The script will, by default, choose the cosmic x-ray background rates based on observation date, but the user can specify either "NONE" to do no CXB subtraction or else the name of a file containing an alternate set of CXB rates.
PCA_BS is intended as a 'fast' tool to minimize the amount of FTOOLing around for the user with straightforward data analysis requirements. It is not intended to replace or reproduce the full functionality available from the individual FTOOLS.
Please report problems to xtehelp@athena.gsfc.nasa.gov.
SAEXTRCT, LCMATH for more information about these tools.