PileupResponse1D

class sherpa.astro.instrument.PileupResponse1D(pha, pileup_model)[source] [edit on github]

Bases: NoNewAttributesAfterInit

A factory class for generating a response including pileup.

Parameters:
phasherpa.astro.data.DataPHA instance

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_modelsherpa.astro.models.JDPileup instance

The pileup model.

Methods

__call__(model[, session])

Call self as a function.

Raises:
sherpa.utils.err.DataErr

The argument does not contain any response information (it is missing an ARF or RMF).

See also

Response1D