Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: December 2012

URL: http://cxc.harvard.edu/ciao/read_rmf.html
Jump to: Description · Example · Bugs · See Also


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.

See Also

contrib
make_image_crate, make_table_crate, scale_image_crate, smooth_image_crate, write_arrays, write_columns
crates
add_col, add_crate, add_key, add_piximg, cratedataset, delete_col, delete_key, delete_piximg, get_crate, is_rmf, read_file, read_pha, write_file, write_pha, write_rmf

Last modified: December 2012
CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.