Skip to the navigation links
Last modified: December 2009

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

read_arf

Context: sl.crates

Synopsis

Load an ARF file into an ARFCrate.

Syntax

read_arf(filename);

Description

  • filename - name of the input file

The read_arf command loads the specified ARF file into an ARFCrate.

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_arf("arf.fits");
slsh> get_crate_type(cr);
ARF

A file is read into the crate "cr" with read_arf, then the get_crate_type command is used to confirm it is an ARFCrate.

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_arf, read_file, read_pha, read_rmf, write_arf, write_file, write_pha, write_rmf
sl.crates_contrib
make_table_crate, scale_image_crate, write_columns

Last modified: December 2009