Skip to the navigation links
Last modified: April 2009

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/crates_utils.py.html
Jump to: Description Bugs


AHELP for CIAO 4.2

crates_utils

Context: py.crates_contrib

Synopsis

Utility routines for Crates (CIAO contributed package)

Syntax

import crates_contrib.utils
from crates_contrib.utils import *

Description

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.

Contents

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.

Bugs

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


Last modified: April 2009