NAME

mkfiltrsp - Read an input text with a filter response to make a single channel response matrix.

USAGE

mkfiltrsp infile rspfile xunit clobber

DESCRIPTION

This tool reads a text file (infile) which contains the response for a filter (in cm^2) and creates a response matrix with a single channel. This is useful for including photometric data in spectral fitting.

The units for the energies (or wavelengths) in the input text file can be specified using the xunit parameter. The allowed units are given below in the parameter specifications.

PARAMETERS

infile [filename]
The name of the input text file with the model spectrum or spectra.

rspfile [filename]
The name of the output response file.

xunit [string]
The units for energy or wavelength used in the input text file. The allowed options are keV (the default), MeV, GeV, Hz, angstrom, cm, micron, or nm.

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

EXAMPLES

SEE ALSO

LAST MODIFIED

Nov 2012