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