Changes the name that has been given to a model component by the user.
sherpa> RENAME <modelname> <new_modelname>
where <modelname> is the name that has been given to a model component
by the user, and <new_modelname> is the new name to be assigned.
Change the name of a model component:
sherpa> PARAMPROMPT OFF
sherpa> GAUSS[modelb]
sherpa> RENAME modelb modelB
sherpa> SHOW modelB
gauss1d[modelB]
Param Type Value Min Max Units
----- ---- ----- --- --- -----
1 fwhm thawed 10.0000 1.1755e-38 3.4028e+38
2 pos thawed 0.0000-3.4028e+38 3.4028e+38
3 ampl thawed 1.0000-3.4028e+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,
run_fit,
set_par,
set_paramset,
set_stackexpr,
source,
thaw,
truncate,
unlink
|