Delete a background model
delete_bkg_model( [id, bkg_id] )
The delete_bkg_model command deletes a background model from
the stack.
-
id - the id of the dataset; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
-
bkg_id - the id of the background with the model to be
deleted; default is the first background dataset
sherpa> delete_bkg_model()
sherpa> delete_bkg_model(1)
sherpa> delete_bkg_model(1, 1)
These commands are equivalent ways of deleting the
background model for the default background associated with
the default source dataset.
sherpa> delete_bkg_model(bkg_id="bkg")
Delete the model associated with the background "bkg".
sherpa> delete_bkg_model("src", 2)
Delete the model for the second background of the dataset "src".
- py.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_model,
delete_model_component,
delete_psf,
eqwidth,
get_bkg,
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_bkg_ids,
list_model_ids,
load_table_model,
load_user_model,
plot_bkg,
plot_model,
plot_source,
reset,
set_bkg,
set_bkg_model,
set_model,
set_model_autoassign_func,
set_pileup_model,
set_source,
subtract,
unsubtract
|