deadtime -- Update the exposure of PHA file by deadtime based on GTIs
deadtime infile gtifile deadfile
This task updates the exposure time of a file based on input GTIs and deadtimes. The GTIs must be in one file, and time-orders, such as in the output of MGTIME. The deadtime file must contain a column for time and another for fractional deadtime. The deadtime is assumed to apply from the time associated with the deadtime until the time in the following row. The file is assumed to be time ordered.
By default the tool looks for the GTI extension as another extension of the infile. So, gtifile is now hidden parameter.
Exposure keyword changed from ONTIME to EXPOSURE which is hidden.
Entry for multiple MKF files added. The input for this can be either a list of MKF files separated by comma (,) or an ascii file containing the names of the files. In the later case, one name per line of the ascii file need to be entered and the ascii filename should be preceded by the sign '@'. The files in the list should be arranged in the ascending chronological order.
1. Change the ONTIME keyword in the events file events.fits to reflect the deadtime as given in deadtime.fits, using the GTIs in the 2nd extension of events.fits ft> deadtime events.fits+1 events.fits+2 deadtime.fits
mgtime