|AHELP for CIAO 4.5||
Load a PHA file into a PHACrateDataset.
- filename - name of the file
The read_pha command loads the specified PHA file into a PHACrateDataset.
>>> cds = read_pha("pha2") >>> print(cds)
The output of the print command is:
PHA Crate Dataset: File Name: pha2 PHA Type: 2 Read-Write Mode: rw Number of Crates: 3 1) Crate Type: <IMAGECrate> Crate Name: PRIMARY Crate Number: 1 2) Crate Type: <TABLECrate> Crate Name: SPECTRUM Crate Number: 2 Ncols: 13 Nrows: 12 3) Crate Type: <TABLECrate> Crate Name: REGION Crate Number: 3 Ncols: 10 Nrows: 36
In this example the PHA file is a type II grating dataset and was obtained from TGCat.
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.