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

Synopsis

Module functions to thaw or freeze the specified parameter(s).

Syntax

Integer_Type set_thawed([String_Type])
Integer_Type set_frozen([String_Type])

Success/Error Return Values: 1/0

Arguments:

(1) Model name, or model parameter name (default all model parameters)

Description

If:

  • no argument is provided, these functions will thaw or freeze all model parameters;
  • a model component name is provided, these functions will thaw or freeze all parameters of that model; and
  • if a model parameter name is provided, these functions will thaw or freeze that parameter.

See the related Sherpa commands THAW and FREEZE for more information.

Example

Freeze all parameters of a specified Gaussian model, then thaw the position parameter:

sherpa> PARAMPROMPT OFF
sherpa> GAUSS[g]
sherpa> set_frozen("g")
1
sherpa> set_thawed("g.pos")
1
sherpa> SHOW g
gauss1d[g]  (integrate: on)
    Param   Type      Value        Min        Max                 Units
    -----   ----      -----        ---        ---                 -----
 1   fwhm frozen         10 1.1755e-38 3.4028e+38
 2    pos thawed          0 -3.403e+38 3.4028e+38
 3   ampl frozen          1 -3.403e+38 3.4028e+38

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.