Module functions that report the total number of parameters for all defined models, including instrument models
Integer_Type get_num_par()
Integer_Type get_num_par_frozen()
Integer_Type get_num_par_thawed()
Error Return Values: NULL
See the related Sherpa command
SHOW.
Set up two models; determine the number of parameters:
sherpa> SOURCE = POW[p] + GAUSS[g]
sherpa> get_num_par
6
sherpa> get_num_par_thawed
5
sherpa> get_num_par_frozen
1
- sherpa
-
autoest,
background,
create,
create_model,
createparamset,
fit,
freeze,
get_defined_models,
get_model_params,
get_models,
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_paramset,
set_stackexpr,
source,
thaw,
truncate,
unlink
|