FXTSoft v2.0 documentation
fxtgtigen help
Command help for fxtgtigen in the FXTSoft v2.0 release.
NAME
fxtgtigen -- Create Good Time Interval (GTI) FITS file based on parameters in a Make filter (MKF) data FITS file.USAGE
fxtgtigen mkffile module outfile expr
DESCRIPTION
The input is a MKF FITS file (always in OBSID/fxt/hk/) and a selection expression (e.g., expr="ELV>5"). The output file is a GTI FITS file. This task is suitable for FF, PW and TM modes.PARAMETERS
- mkffile [file name]
- Name of the input MKF FITS file (always in OBSID/fxt/hk/*mkf*).
- module [string]
- Name of the module of FXT (fxta/fxtb).
- usrgtifile [file name]
- Name of the user input GTI file (FITS format) or NONE for none.
- evtfile [file name]
- Name of the event file (if set, its GTI extension will be used).
- outfile [file name]
- Name of the output GTI Event FITS file or DEFAULT for standard name.
- expr [string]
- Selection Expression for attitude and instrument HK or DEFAULT for standard (from CALDB)
- hkrangefile [file name]
- Name of the input fits HKRANGE file or CALDB (DEFAULT=CALDB).
- prefr [real]
- Pre-time interval factor [-1,1] (DEFAULT=0.5).
- postfr [real]
- Post-time interval factor [-1,1] (DEFAULT=0.5).
- (history) [boolean]
- If set to yes, write parameter values and other information in HISTORY blocks (DEFAULT=yes).
- (clobber) [boolean]
- If 'clobber'=yes and outfile=filename, the file with the same name will be overwritten, if it exists (DEFAULT=yes).
- (chatter) [integer]
- Chatter Level (min=0, max=5) (DEFAULT=1).
EXAMPLES
- general usage
>fxtgtigen mkffile=13600000039/fxt/hk/fxt_13600000039_mkf_0ca.fits module=fxta expr="ELV>5" outfile=gti.fits
- the 'expr' parameter can be utilized with recommended setting
>fxtgtigen mkffile=13600000039/fxt/hk/fxt_13600000039_mkf_0ca.fits module=fxta expr=CALDB outfile=gti.fits
- use the gti from event file
>fxtgtigen mkffile=13600000039/fxt/hk/fxt_13600000039_mkf_0ca.fits expr=CALDB outfile=gti.fits evtfile=13600000039/fxt/event/fxt_a_13600000039_ff_00_po_uf_evt_0aa.fits
Please note that there is no need to set the 'module' parameter here. - Users can use their own gti files
>fxtgtigen mkffile=13600000039/fxt/hk/fxt_13600000039_mkf_0ca.fits expr=CALDB outfile=gti.fits usrgtifile=usrgti.fits
usrgti.fits file is provided by the user, and its format is consistent with the output GTI file, in FITS format.
BUGS
SEE ALSO
Manual page updated
2026-11-04