delete_model_component( name );
The delete_model_component command deletes a model component
by name.
-
name - the name of the model component. Once deleted, it is
removed from the local variable scope.
sherpa> list_model_components();
['abs1', 'pl'];
sherpa> delete_model_component("abs1");
sherpa> list_model_components();
['pl'];
Delete the model component "abs1".
sherpa> list_model_components();
['c', 'g1'];
sherpa> delete_model_component("g1");
sherpa> list_model_components();
['c'];
Delete the model component "g1".
- sl.sherpa
-
add_user_pars,
calc_chisqr,
calc_energy_flux,
calc_model_sum,
calc_photon_flux,
calc_source_sum,
calc_stat,
clean,
contour_model,
contour_ratio,
contour_resid,
create_model_component,
delete_bkg_model,
delete_model,
delete_psf,
eqwidth,
get_bkg_plot,
get_model,
get_model_autoassign_func,
get_model_plot,
get_num_par,
get_order_plot,
get_par,
get_pileup_model,
get_ratio,
get_resid,
get_source,
image_model,
image_source,
integrate,
link,
list_model_ids,
load_table_model,
load_user_model,
plot_model,
plot_source,
reset,
set_bkg_model,
set_model,
set_model_autoassign_func,
set_pileup_model,
set_source
|