Prior#
- class gammapy.modeling.models.Prior[source]#
Bases:
ModelBasePrior abstract base class. For now, see existing examples of type of priors:
Attributes Summary
Prior parameters as a
PriorParametersobject.Weight multiplied to the prior when evaluated.
Methods Summary
__call__(value)Call evaluate method.
from_dict(data, **kwargs)Get prior parameters from dictionary.
to_dict([full_output])Create dictionary for YAML serialisation.
Attributes Documentation
- default_parameters = <gammapy.modeling.parameter.Parameters object>#
- parameters#
Prior parameters as a
PriorParametersobject.
- weight#
Weight multiplied to the prior when evaluated.
Methods Documentation
- classmethod __new__(*args, **kwargs)#