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

Synopsis

Module functions to determine if whether the specified parameter(s) are thawed or frozen.

Syntax

Integer_Type is_thawed([String_Type])
Integer_Type is_frozen([String_Type])

Arguments:

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

Description

If:

  • no argument is provided, these functions will return 1 if all model parameters are thawed, or frozen;
  • a model component name is provided, these functions return 1 if all parameters of that model are thawed, or frozen; and
  • if a model parameter name is provided, these functions return 1 if that parameter is thawed, or frozen.

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

Example

Determine if all parameters of a specified Gaussian model are thawed, then determine if the ampl parameter is frozen:

sherpa> PARAMPROMPT OFF
sherpa> GAUSS[g]
sherpa> is_thawed("g")
1
sherpa> is_frozen("g.ampl")
0

The 1 returned from the first call indicates that yes, all parameters of the Gaussian model named g are thawed. The 0 returned from the second call indicates that no, the parameter g.ampl is not frozen.

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.