chkarf -- Checks the validity of the mandatory and optional keywords of an ARF FITS file before input to XSPEC.
chkarf infile=filename1 outfile=filename2 [chatter=11]
chkarf filename1 outfile=filename2
The task performs the necessary checks, e.g, validity of mandatory and optional keywords, on an input FITS file of spectral response to determine whether it is in the correct format to be acceptable as an input to XSPEC (and hence several other ftools tasks), reporting back to STDOUT (and/or an ASCII file) the results. To get report to STDOUT, user needs to use chatter >=10 .
The mandatory keyword checked are:
EXTNAME, TELESCOP, INSTRUME, FILTER & ARFVERSN
The optional keyword checked are:
PHAFILE, HDUCLASS, HDUCLAS1, HDUCLAS2, HDUVERS1 & HDUVERS2
NOTE: Optional keywords are suggested, as they supply further detailed informations regarding data sets.
1. chkarf test.arf
2. chkarf test.arf outfile=outfilename
3. chkarf test.arf outfile=outfilename chatter=10
v1.0.0 (April, 1997)
Banashree Mitra Seifert HEASARC, NASA/GSFC http://heasarc.gsfc.nasa.gov/cgi-bin/ftoolshelp