Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/ciao/ahelp/get_crate.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.9

get_crate

Context: crates

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_pha, read_rmf, write_pha, write_rmf

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.