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:
  • pha (sherpa.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_model (sherpa.astro.models.JDPileup instance) – The pileup model.

Raises:

sherpa.utils.err.DataErr – The argument does not contain any response information (it is missing an ARF or RMF).

See also

Response1D