Skip to the navigation links
Last modified: December 2009

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/read_rmf.sl.html
AHELP for CIAO 4.2

read_rmf

Context: sl.crates

Synopsis

Load an RMF file into an RMFCrate.

Syntax

read_rmf(filename);

Description

  • 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.

Example

slsh> cr = read_rmf("rmf.fits");
slsh> 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.

Bugs

See the bug pages on the CIAO website for an up-to-date listing of known bugs.

See Also

sl.crates
add_col, add_key, add_piximg, delete_col, delete_key, delete_piximg, is_rmf, read_arf, read_file, read_pha, write_arf, write_file, write_pha, write_rmf
sl.crates_contrib
make_table_crate, scale_image_crate, write_columns

Last modified: December 2009