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

URL: http://cxc.harvard.edu/sherpa/ahelp/sherpa_chart.html
AHELP for CIAO 4.9 Sherpa v1

sherpa_chart

Context: contrib

Synopsis

Create and view spectral files for ChaRT2 (CIAO contributed package).

Syntax

from sherpa_contrib.chart import *

Description

The sherpa_contrib.chart module provides routines for creating and viewing the input spectral files for users of ChaRT2 and is provided as part of the CIAO contributed scripts package.

Loading the routines

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

from sherpa_contrib.chart import *
from sherpa_contrib.all import *

where the second form loads in all the Sherpa contributed routines, not just the chart module.

Contents

The chart module currenly provides the following routines:

Function name Description
save_chart_spectum Writes out the model spectrum in the units used by by ChaRT2
plot_chart_spectum Plot the model spectrum in the units used by ChaRT2
get_chart_spectum Get the model spectrum in the units used by ChaRT2

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

Changes in the scripts 4.8.2 (January 2016) release

The routines have been updated to work with version 2 of ChART.

Bugs

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

See Also

contrib
get_chart_spectrum, plot_chart_spectrum, save_chart_spectrum

Last modified: January 2016
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.