Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: October 2011

URL: http://cxc.harvard.edu/ciao/ahelp/ciao_contrib.html
AHELP for CIAO 4.9

ciao_contrib

Context: contrib

Synopsis

Contributed Crates, ChIPS, and Sherpa routines for CIAO.

Syntax

import ciao_contrib.all
from ciao_contrib.all import *

Note: in CIAO 4.2 the module was called ciao_contrib

Description

The ciao_contrib package provides useful 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 or Sherpa by saying:

from ciao_contrib.all import *

This will load in all the modules that are part of this package; this is currently:

Module Description
ciao_contrib.caldb Utility routines related to the CIAO CALDB
ciao_contrib.smooth Simple smoothing routines for image data
ciao_contrib.stacklib Expand out a CIAO stack value into an array of values
ciao_contrib.region.all Routines for handling CIAO region files
ciao_contrib.utils Utility routines for CIAO
crates_contrib.all Crates routines
chips_contrib.all ChIPS routines
sherpa_contrib.all Sherpa routines

What is not loaded

The ciao_contrib.runtool module is not loaded as part of ciao_contrib, since it provides a large number of routines. This module must be imported directly.

See the ahelp files for the individual packages and the contributed scripts page for further information.

Changes in the October 2011 release

DS9 contour files

The add_ds9_contours() ahd read_ds9_contours() routines have been added to the chips_contrib.utils and crates_contrib.utils modules respectively; they provide basic support for plotting and reading in the *.con contour files created by DS9.

Simple coordinate conversion

The SimpleCoordTransform class has been added to the crates_contrib.utils module to simplify converting between the coordinate systems of an image.

Changes in the July 2011 release

runtool changes

The ciao_contrib.runtool module has been updated to include the new fluximage script, support setting parameters with an array, better handling of long parameter values, and minor improvements to the set_pfiles() and new_pfiles_environment() routines.

New module

The ciao_contrib.stacklib module has been added.

Changes in the February 2011 release

runtool changes

The ciao_contrib.runtool module has been updated to handle ardlib parameter names which contain a "-".

Changes in the December 2010 release

Module name change

To load in all the CIAO contributed modules you now have to say one of

import ciao_contrib.all
from ciao_contrib.all import *

rather than

import ciao_contrib
from ciao_contrib import *

which now no longer loads in any code.

Bugs

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

Refer to the CIAO bug pages for an up-to-date listing of known issues.


Last modified: October 2011
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.