PileupResponse1D
- class sherpa.astro.instrument.PileupResponse1D(pha, pileup_model)[source] [edit on github]
Bases:
NoNewAttributesAfterInitA factory class for generating a response including pileup.
- Parameters:
- pha
sherpa.astro.data.DataPHAinstance The data object which defines the channel grid and instrument response. There must be both an ARF or RMF associated with the dataset when it is called.
- pileup_model
sherpa.astro.models.JDPileupinstance The pileup model.
- pha
Methods
__call__(model[, session])Call self as a function.
- Raises:
sherpa.utils.err.DataErrThe argument does not contain any response information (it is missing an ARF or RMF).
See also