seexpd -- reads an XTE science event (SE) data file and reformats it so that it is acceptable to pre-existing non-XTE-specific FTOOLS.
seexpd infile(s) outfile timecol columns outimecol outcol sensecase clobber mode
seexpd reads an XTE science event (SE) data file and reformats it so that it is acceptable to pre-existing non-XTE-specific FTOOLS.
Since XTE/SE data can be in several formats depending upon its mode of operation it is necessary to extract the pertinent information from these files. The information extracted is the detector channel which registered the incoming photon. Thus the output file contains a double precision timestamp and an integer*2 value denoting the channel that received the photon. [WARNING: This code is OUT OF DATE and has not kept up with the evolution of SE data descriptors, so that it can no longer be used.]
The task will reformat standard XTE/SE FITS files into a format that pre-existing non-XTE-specific FTOOLS can utilize. This will facilitate analysis of the data by the user.
1. Process an XTE/SE FITS file, "infile," using the defaults (the default file names must be properly set):
seexpd infile.fits outfile.fits default default
In order for this code to function it is necessary that the information about how the data is stored be contained in the proper TDDES value. This is important since we have to read in an nX value where "n" is the number of bits contained within the string. We then must move to the correct bit in the string to extract the proper bytes which contain the channel information. In order to do this we have to breakdown the Data Descriptor to figure out where exactly we are to move to.
Please report problems to xtehelp@athena.gsfc.nasa.gov.
SAEXPD