| AHELP for CIAO 4.4 | is_rmf |
Context: crates |
Synopsis
Determine if the crate dataset contains an RMF.
Syntax
is_rmf(cratedataset)
Description
The is_rmf command returns True if the crate dataset contains an RMF and False otherwise.
Example
>>> cds = read_rmf("src.rmf")
>>> is_rmf(cds)
TrueChanges in CIAO 4.4
Input argument
RMF files are now stored as CrateDataset objects rather than Crates. So a RMF file read in by read_file will not return True when passed to is_rmf.
Return value
The return value is now True or False rather than 1 or 0.
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
- col_exists, is_pha, is_virtual, key_exists, read_rmf, write_rmf

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