Synopsis
Get a crate from a dataset.
Syntax
get_crate(dataset, name) get_crate(dataset, num)
Description
| Argument | Description |
|---|---|
| dataset | A CrateDataset object. |
| name | The block name of the Crate (case insensitive). |
| num | The number of the block, where the first block is numbered 1. |
The get_crate command finds the given crate in the dataset.
Example
>>> ds = CrateDataset('in.fits')
>>> cr = get_crate(ds, 'HISTOGRAM')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
- crates
- add_crate, cratedataset, read_dataset, read_pha, read_rmf, write_dataset, write_pha, write_rmf