Spectra definitions for event weights#

Reference/ API#

ctapipe.irf.spectra Module#

Definition of spectra to be used to calculate event weights for irf computation

Functions#

spectrum_from_simulation_config(...[, method])

Return simulated spectrum function from configuration information..

spectrum_from_name(name)

Return spectrum function given a name or Spectra enum value.

Classes#

Spectra(*values)

Spectra for calculating event weights