| AHELP for CIAO 4.5 | read_rmf |
Context: crates |
Synopsis
Load an RMF file into a RMFCrateDataset.
Syntax
read_rmf(filename)
Description
- filename - name of the file
The read_rmf command loads the specified RMF file into a RMFCrateDataset.
Example
>>> cds = read_rmf("rmf.fits")
>>> print(cds)The output of the print command is:
RMF Crate Dataset:
File Name: meg_1.rmf
Read-Write Mode: rw
Number of Crates: 3
1) Crate Type: <IMAGECrate>
Crate Name: PRIMARY
Crate Number: 1
2) Crate Type: <TABLECrate>
Crate Name: MATRIX
Crate Number: 2
Ncols: 6
Nrows: 8192
3) Crate Type: <TABLECrate>
Crate Name: EBOUNDS
Crate Number: 3
Ncols: 3
Nrows: 8192
In this example the RMF is from a grating observation and was obtained from TGCat.
Bugs
See the bug pages on the CIAO website for an up-to-date listing of known bugs.
Refer to the CIAO bug pages for an up-to-date listing of known issues.

![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)