delete_pileup_model

sherpa.astro.ui.delete_pileup_model(id=None)

Delete the pile up model for a data set.

Remove the pile up model applied to a source model.

New in version 4.12.2.

Parameters:

id (int or str, 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')