|AHELP for CIAO 4.2||
Load an RMF file into an RMFCrate.
- filename - name of the input file
The read_rmf command loads the specified RMF file into an RMFCrate.
Users familiar with the CIAO Data Model should note that:
- Crates reads one extension of the input file, not the whole dataset. The file that is written out will only contain the block which was read.
- Crates doesn't retain the data subspace of the file.
>>> cr = read_rmf("rmf.fits") >>> print(get_crate_type(cr)) RMF
A file is read into the crate "cr" with read_rmf, then the get_crate_type command is used to confirm it is an RMFCrate.
See the bug pages on the CIAO website for an up-to-date listing of known bugs.