Module functions to thaw or freeze the specified parameter(s).
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)
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.
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
- 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,
is_paramset,
jointmode,
kernel,
lineid,
linkparam,
mdl,
modelexpr,
modelstack,
nestedmodel,
noise,
paramprompt,
paramset,
pileup,
rename,
run_fit,
set_par,
set_stackexpr,
source,
thaw,
truncate,
unlink
|