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

Skip the navigation links
Last modified: 21 September 2006
Hardcopy (PDF): A4 | Letter

How do I change parameter minimum and maximum range limits?


This syntax is described in depth in the Sherpa Reference manual and the paramset ahelp page. In the following example, the user establishes a model component and assigns it a name, then sets a model parameter value and the parameter range limits:

sherpa> pow[modelc]
sherpa> modelc.3 = 10.0
sherpa> modelc.3.min = 1.0
sherpa> modelc.3.max = 100.0

The second command, modelc.3 = 10.0, gives the value of 10.0 to parameter number 3 of modelc. The third and fourth commands set the minimum and maximum values for parameter number 3 of the same model component.



Hardcopy (PDF): A4 | Letter
Last modified: 21 September 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.