Module functions to determine if whether the specified parameter(s) are thawed or frozen.
Integer_Type is_thawed([String_Type])
Integer_Type is_frozen([String_Type])
Arguments:
(1) Model name, or model parameter name (default all model parameters)
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.
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.
- sherpa
-
autoest,
background,
create,
create_model,
createparamset,
fit,
freeze,
get_defined_models,
get_model_params,
get_models,
get_num_par,
get_par,
get_stackexpr,
getx,
gety,
guess,
instrument,
integrate,
jointmode,
kernel,
lineid,
linkparam,
mdl,
modelexpr,
modelstack,
nestedmodel,
noise,
paramprompt,
paramset,
pileup,
rename,
run_fit,
set_par,
set_paramset,
set_stackexpr,
source,
thaw,
truncate,
unlink
|