About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: August 2009

URL: http://cxc.harvard.edu/ciao4.1/sherpa_utils.sl.html
Jump to: Description Bugs


AHELP for CIAO 4.1

sherpa_utils

Context: sl.sherpa_contrib

Synopsis

Utility routines for Sherpa (CIAO contributed package)

Syntax

require ("sherpa_utils");

Description

The sherpa_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:

require ("sherpa_utils");
require ("sherpa_contrib");

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

Deprecated routine

The following routine is deprecated; users should switch to using the guess() routine instead:

  • set_param_limits_from_image() - Set the limits for positional parameters (xpos,ypos) to match the image coordinate range

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.

Last modified: August 2009



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