|AHELP for CIAO 4.2||
Load a PHA file into a PHACrate.
- filename - name of the input file
The read_pha command loads the specified PHA file into a PHACrate.
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.
slsh> cr = read_pha("pha.fits"); slsh> get_crate_type(cr); PHA
A file is read into the crate "cr" with read_pha, then the get_crate_type command is used to confirm it is a PHACrate.
See the bug pages on the CIAO website for an up-to-date listing of known bugs.