PriorParameter#
- class gammapy.modeling.PriorParameter[source]#
Bases:
Parameter
Parameter of a
Prior
.A prior is a probability density function of a model parameter and can take different forms, including but not limited to Gaussian distributions and uniform distributions. The prior includes information or knowledge about the dataset or the parameters of the fit.
Examples
For a usage example see Priors tutorial.
Methods Summary
to_dict
()Convert to dictionary.
Methods Documentation
- __init__(name, value, unit='', scale=1, min=nan, max=nan, error=0, scale_method='scale10', scale_transform='lin')[source]#
- classmethod __new__(*args, **kwargs)#