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

URL: http://cxc.harvard.edu/sherpa/sherpa_utils.html
Jump to: Description · Bugs · See Also


AHELP for CIAO 4.3 Sherpa v1

sherpa_utils

Context: contrib

Synopsis

Utility routines for Sherpa (CIAO contributed package).

Syntax

from sherpa_contrib.utils import *

Description

The sherpa_contrib.utils module provides utility 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 saying either of:

from sherpa_contrib.utils import *
from sherpa_contrib.all import *

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

Contents

The utils module currenly provides the routines:

  • save_instmap_weights() - write out the model spectrum in the form required by mkinstmap
  • plot_instmap_weights() - plot up the model spectrum in the form required by mkinstmap
  • get_instmap_weights() - return the model spectrum in the form required by mkinstmap
  • estimate_weighted_expmap() - return the estimated exposure map value by weighting the ARF by the spectral model

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.

See Also

contrib
estimate_weighted_expmap, get_instmap_weights, plot_instmap_weights, save_instmap_weights

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.