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/restore_paramest.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 restore_paramest Context: sherpa

Synopsis

Module functions to restore the default values of the parameters used to configure each Sherpa parameter estimation method.

Syntax

restore_unc
restore_proj
restore_cov
restore_intunc
restore_intproj
restore_regunc
restore_regproj

Description

These functions restore the default values of the Sherpa configuration variables (also called "state objects") sherpa.unc et al.

To display the current values, use the functions list_unc et al.

See the related Sherpa commands UNCERTAINTY, PROJECTION, COVARIANCE, INTERVAL-UNCERTAINTY, INTERVAL-PROJECTION, REGION-UNCERTAINTY, and REGION-PROJECTION for more information.

Example

Modify the Sherpa state variable sherpa.regproj; display current values with list_regproj; restore the default values:

sherpa> sherpa.regproj.nloop = [30,20]
sherpa> sherpa.regproj.sigma = [1.6,2.6]  # 90 and 95 percent contours
sherpa> list_regproj
Parameter   Current         Default                        Description
----------------------------------------------------------------------
fast              1               1    Switch to LM/simplex: 0(n)/1(y)
expfac            3               3          Expansion factor for grid
arange            1               1              Auto-range: 0(n)/1(y)
min           [0,0]           [0,0]          Minimum values, each axis
max           [0,0]           [0,0]          Maximum values, each axis
log           [0,0]           [0,0]  Log-spacing: 0(n)/1(y), each axis
nloop       [30,20]         [10,10]   Number of grid points, each axis
sigma     [1.6,2.6]         [1,2,3]      Number of sigma, each contour
sherpa> restore_regproj
sherpa> list_regproj
Parameter   Current         Default                        Description
----------------------------------------------------------------------
fast              1               1    Switch to LM/simplex: 0(n)/1(y)
expfac            3               3          Expansion factor for grid
arange            1               1              Auto-range: 0(n)/1(y)
min           [0,0]           [0,0]          Minimum values, each axis
max           [0,0]           [0,0]          Maximum values, each axis
log           [0,0]           [0,0]  Log-spacing: 0(n)/1(y), each axis
nloop       [10,10]         [10,10]   Number of grid points, each axis
sigma       [1,2,3]         [1,2,3]      Number of sigma, each contour

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.