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

URL: http://cxc.harvard.edu/sherpa/sherpa_contrib.html
AHELP for CIAO 4.3 Sherpa v1

sherpa_contrib

Context: contrib

Synopsis

Contributed CIAO routines for Sherpa.

Syntax

import sherpa_contrib.all
from sherpa_contrib.all import *

Note: in CIAO 4.2 the module was called sherpa_contrib

Description

The sherpa_contrib package provides a number of useful routines for Sherpa users, and is provided as part of the CIAO contributed scripts package.

Loading the routines

The module can be loaded into Sherpa by using either of:

from sherpa_contrib.all import *
import sherpa_contrib.all

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

Module Description
sherpa_contrib.utils Routines for calculating the weights file for mkinstmap.
sherpa_contrib.profiles Plot radial profiles of data and fits of imaging (2D) data.
sherpa_contrib.chart Routines for creating and visualizing the data files used by the Chandra Ray Tracer (ChaRT).

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

Changes in the December 2010 Release

Module name change

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

import sherpa_contrib.all
from sherpa_contrib.all import *

rather than

import sherpa_contrib
from sherpa_contrib import *

which now no longer loads in any code.

Removed modules

The sherpa_contrib.primini and sherpa_contrib.flux_dist modules have been removed since their functionality is now included in Sherpa.

Bugs

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


Last modified: October 2010
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-2019. All rights reserved.