xtecol -- creates a collimator corrected light curve for an XTE PCA input light curve.
xtecol lcfile outfile xtefilt pcu collcube
This task computes the collimator correction for an XTE (PCA or HEXTE) light curve. It computes the correction from the source position and the instrument pointing. If the jitter in the pointing is less than the nominal jitter, then an average pointing is used for the entire light curve. The collimator correction value corresponding to this average pointing is stored as a keyword value in the extension header of the output file. If the jitter is greater than the nominal jitter, then the current pointing is used for each time in the light curve. In the latter case, if the sampling (i.e. bin size) in the light curve is less than the sampling rate in the pointing, then the pointing is obtained via interpolation. On the other hand, if the sampling in the light curve is larger than that of the pointing, then an average pointing over the duration of the bin is used. The user may override the nominal jitter criterion via the hidden jitter parameter.
If the source lies outside of the field of view, a warning message is given and the returned intensity is set to INDEF for that time stamp. The input file is copied to the output file. Intensities for times lying outside the desired start and stop times are given a value of INDEF. When quaternions are not available for a desired time, the rate is also given a value of INDEF.
1. Construct the collimated corrected light curve for the file std2one.lc, using the quaternion files FH0e_2e89a5c-2e90abf. The input file represents the intensity from all the detectors (pcu=all). The collimator cube file will be fetched from caldb, and the output light curve will be written to std2one_col.lc.
xtecol std2one.lc std2one_col.lc FH0e_2e89a5c-2e90abf ALL CALDB
2. Construct the collimated corrected light curve for the file hexte_a.lc, using the quaternion file FH0e_2e89a5c-2e90abf. The input file represents the intensity from all the detectors (detnam=PWA). The collimator cube file will be fetched from caldb, and the output light curve will be written to hexte_a_col.lc.
xtecol hexte_a.lc hexte_a_col.lc FH0e_2e89a5c-2e90abf PWA CALDB
Please report problems to xtehelp@athena.gsfc.nasa.gov.