|AHELP for CIAO 4.2||
Write an RMFCrate to an output file.
- crate - input RMFCrate object
- filename - name of the output file
The write_rmf command creates an output file for the input RMFCrate, overwriting any existing file with the same name. The output columns are chosen to match the OGIP RMF file format definition. The command returns a "1" if the file is written successfully.
slsh> get_crate_type(cr); RMF slsh> write_rmf(cr, "rmf.fits"); 1
An existing crate is determined to be an RMFCrate by get_crate_type, then it is written to the file rmf.fits.
See the bug pages on the CIAO website for an up-to-date listing of known bugs.