Skip to the navigation links
Last modified: April 2009

Jump to: Description Bugs

AHELP for CIAO 4.2


Context: py.crates_contrib


Utility routines for Crates (CIAO contributed package)


import crates_contrib.utils
from crates_contrib.utils import *


The crates_contrib.utils module provides utility routines for CIAO users, and is provided as part of the CIAO contributed scripts package.

Loading the routines

The module can be loaded into ChIPS, Sherpa, or Python scripts by saying one of the following:

from crates_contrib.utils import *
from crates_contrib import *

where the second line will load in all the Crates contributed routines, not just the utils module.


The utils module currenly provides two routines:

  • write_columns() - write out a set of arrays to a file as a table (ASCII or FITS format)
  • make_table_crate() - create a table crate from a set of arrays

See the ahelp file for the routine and the contributed scripts page for further information.


See the bugs pages for an up-to-date listing of known bugs.

Last modified: April 2009