Skip to the navigation links
Last modified: December 2009

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/is_arf.py.html
AHELP for CIAO 4.2

is_arf

Context: py.crates

Synopsis

Determine if the crate contains an ARF.

Syntax

is_arf(crate)

Description

  • crate - input crate

The is_arf command returns "1" if the crate contains an ARF and "0" if not.

Example

>>> cr = read_arf("src.arf")
>>> is_arf(cr)
1

A file is read into the crate "cr", then is_arf is used to confirm it is an ARF.

Bugs

See the bug pages on the CIAO website for an up-to-date listing of known bugs.

See Also

py.crates
col_exists, is_pha, is_rmf, is_virtual, key_exists, read_arf, write_arf

Last modified: December 2009