| AHELP for CIAO 4.5 | get_crate_item_type |
Context: crates |
Synopsis
Return the type of the crate item as a string.
Syntax
get_crate_item_type(crateitem)
Description
- crateitem - input Crate item
The get_crate_item_type command returns the type of the input crate item in a string. The value will be "Key", "Data", or - if the input argument is invalid - None.
Example
>>> cr = read_file("evt2.fits")
>>> expo = get_key(cr, "EXPOSURE")
>>> print(get_crate_item_type(expo))
KeyBugs
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.

![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)