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

URL: http://cxc.harvard.edu/ciao/get_crate_type.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.5

get_crate_type

Context: crates

Synopsis

Return the type of the crate as a string.

Syntax

get_crate_type(crate)

Description

  • crate - input crate

The get_crate_type command returns the type of the input crate as a string.

Example 1

>>> tbl = read_file("evt2.fits")
>>> print(get_crate_type(tbl))
Table

Example 2

>>> img = read_file("image.fits")
>>> print(get_crate_type(img))
Image

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
copy_piximgvals, get_axis_transform, get_col, get_col_names, get_colvals, get_crate_item_type, get_key, get_key_names, get_keyval, get_number_cols, get_number_rows, get_piximg, get_piximg_shape, get_piximgvals, get_transform, get_transform_matrix

Last modified: December 2012
CXC logo

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