Last modified: January 2016

AHELP for CIAO 4.11 Sherpa v1


Context: contrib


Contributed CIAO routines for Sherpa.


import sherpa_contrib.all
from sherpa_contrib.all import *


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 changing the normalization of models and 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.

X-Spec routines

This module does not load in the X-Spec convolution models provided by the sherpa_contrib.xspec.xsconvolve module.

Changes in the scripts 4.8.2 (January 2016) release

New routine

The sherpa_contrib.utils.renorm() function was added in this release.

ChART version 2 support

The sherpa_contrib.chart module has been updated to support version 2 of ChART.

Fixed routine

The sherpa_contrib.utils.estimate_weighted_expmap() function has been updated to work in CIAO 4.8.

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.


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