delete_pileup_model
- sherpa.astro.ui.delete_pileup_model(id: IdType | None = None) None
Delete the pile up model for a data set.
Remove the pile up model applied to a source model.
Added in version 4.12.2.
- Parameters:
id (int, str, or None, optional) – The data set. If not given then the default identifier is used, as returned by
get_default_id
.
See also
get_pileup_model
Return the pile up model for a data set.
list_pileup_model_ids
List of all the data sets with a pile up model.
set_pileup_model
Add a pile up model to a data set.
Examples
>>> delete_pileup_model()
>>> delete_pileup_model('core')