timetrans -- convert RXTE relative time values to absolute time values
timetrans -i "infile" -f "outfile" -t "Relative time ranges or @filename" -h (help)
timetrans is a script that queries the user for a series of relative time values (beginning at 0) and translates them into their absolute time values and store that into a file ready for input into SA(E)EXTRCT.
This script file is meant to allow the user to specify an input file, and output file, and a series of relative time ranges (i.e., 0-250.0, 350.0-500.0, 750.0-1000.0) and the script will read the TIMEZERO, and TSTART keywords from the input file and translate the specified relative time ranges to their absolute times ranges and these values would be input into SA(E)EXTRCT as the "timeint" value, via the @filename option. The time ranges MUST have a DASH (-) between start and stop times, and a comma separating each range from the next range, as well as a decimal point followed by a 0 or some other value if given on the input line. If they are supplied via the @filename option each time-range must be on its own line with dashes separating the start and stop times. (See below for more information.)
0.0-250.0 350.0-500.0 750.0-1000.0
i.e., each range must be on a separate line, with a "-" separating them, and the last line MUST be a blank line.
1. timetrans -i "sac.pha" -f "timeint.tint" -t "0-250.0, 350.0-500.0, 750.0-1000.0" 2. timetrans -i "sac.pha" -f "timeint.tint" -t "@filename" 3. timetrans
Please report problems to xtehelp@athena.gsfc.nasa.gov. Provide a detailed description of the problem and an e-mail address at which you can be reached if further information is required. Before reporting a bug please check your .PAR file.
SAEXTRCT and SEEXTRCT for more information