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

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/sherpa.unc.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 sherpa.unc Context: sherpa

Synopsis

Configure UNCERTAINTY in Sherpa.

Syntax

sherpa.unc.[field]

Description

The Sherpa configuration variable (also called "state object") sherpa.unc contains settings of UNCERTAINTY for calculating confidence intervals in Sherpa. See ahelp UNCERTAINTY for more details.

The following table lists each field of sherpa.unc, with a description and the default value:

Field Name Description Default
sigma Specifies the number of sigma (i.e. the change in fit statistic). 1
eps How close (in units of sigma) the fit must get to the threshold sigma value before the search for the confidence interval bounds is terminated 0.01
remin Change in statistic value that can trigger reminimization 0.01

To restore the default settings use the Sherpa/S-Lang module function restore_unc.

Example 1

The sherpa.unc settings can be changed at the command line.

sherpa> sherpa.unc.sigma = 2

Example 2

Set sigma to 5 in the first command and then list the current and default values of sherpa.unc and restore the default values.

sherpa> sherpa.unc.sigma = 5
sherpa> list_unc

Parameter   Current         Default                        Description
----------------------------------------------------------------------
sigma             5               1                    Number of sigma
eps            0.01            0.01                Tolerance for sigma
remin          0.01            0.01   Thresh stat change to reminimize

sherpa> restore_unc

sherpa> list_unc

Parameter   Current         Default                        Description
----------------------------------------------------------------------
sigma             1               1                    Number of sigma
eps            0.01            0.01                Tolerance for sigma
remin          0.01            0.01   Thresh stat change to reminimize

Example 3

Create an alias su for sherpa.unc and use it.

sherpa> variable su = sherpa.unc
sherpa> su.sigma = 2

Bugs

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

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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.