NAME

mkintensfilt - Makes a GTI containing times when the RATE in the input light curve file lies within the requested range.

USAGE

mkintensfilt infile rateselection outfile clobber

DESCRIPTION

This tool reads a FITS light curve from infile and writes a FITS GTI to outfile. The GTI specifies the times for which the RATE column in the light curve file lies within the range(s) requested in the rateselection parameter. Hidden parameters are available to change the names of the extensions containing the rate and gti data and the columns containing the time and rate data in the input file.

PARAMETERS

infile [filename]
The name of the input light curve file.

rateselection [string]
The rate ranges to be selected. Low and high levels for a range should be separated by a dash and separate ranges by a comma. e.g. "0.0-0.5,1.0-1.5". If there are multiple ranges then the parameter value must be enclosed by double quotes.
outfile [filename]
The name of the output file. This will contain an extension with HDUNAME="GTI".
rateExtension [string]
The name of the extension with rate data in the input file.
timeColumn [string]
The name of the column with time data in the input file.
rateColumn [string]
The name of the column with rate data in the input file.
gtiExtension [string]
The name of the extension with gti data in the input file.
clobber [bool]
If clobber = yes then overwrite the output file if a file of this name already exists.

EXAMPLES

SEE ALSO

LAST MODIFIED

Jun 2022