AbsorbedSpectralModel¶
-
class
gammapy.spectrum.models.
AbsorbedSpectralModel
(spectral_model, absorption, parameter, parameter_name='redshift')[source]¶ Bases:
gammapy.spectrum.models.SpectralModel
Spectral model with EBL absorption.
Parameters: spectral_model :
SpectralModel
Spectral model.
absorption :
Absorption
Absorption model.
parameter :
float
parameter value for absorption model
parameter_name :
str
, optionalparameter name
Methods Summary
evaluate
(energy, **kwargs)Methods Documentation