NAME

ftcmprmf - Compress RMF by removing response below a threshold

USAGE

ftcmprmf infile outfile threshold

DESCRIPTION

FTCMPRMF reduces the size of an RMF. It removes all response elements having a value less than the threshold given while changing the F_CHAN, N_CHAN, and MATRIX columns to variable length arrays if they are not already.

PARAMETERS

infile [filename]
The name of the input FITS RMF file.

outfile [filename]
The name of the output FITS RMF file.

threshold [real]
All response elements below this value will be removed.

clobber [bool]
If clobber = yes then overwrite the output files if a file of the appropriate name already exists.

EXAMPLES

1. Compress a response by removing all elements below 1.0e-4

ftcmprmf file1.rmf fileout.rmf 1.0e-4    

SEE ALSO

LAST MODIFIED

Jul 2022