CompoundSpectralModel#
- class gammapy.modeling.models.CompoundSpectralModel[source]#
Bases:
CovarianceMixin
,SpectralModel
Arithmetic combination of two spectral models.
For more information see Compound spectral model.
Attributes Summary
Parameters as a
Parameters
object.Methods Summary
__call__
(energy)Call self as a function.
evaluate
(energy, *args)from_dict
(data, **kwargs)to_dict
([full_output])Create dictionary for YAML serialisation.
Attributes Documentation
- default_parameters = <gammapy.modeling.parameter.Parameters object>#
- parameters#
- parameters_unique_names#
- tag = ['CompoundSpectralModel', 'compound']#
Methods Documentation
- classmethod __new__(*args, **kwargs)#