Parameter¶
-
class
gammapy.utils.modeling.
Parameter
(name, value, unit='', parmin=None, parmax=None, frozen=False)[source]¶ Bases:
object
Class representing model parameters.
Parameters: name : str
Name of the parameter.
value : float
Value of the parameter.
unit : str
Unit of the parameter.
parmin : float
Parameter value minimum. Used as minimum boundary value in a model fit.
parmax : float
Parameter value maximum. Used as minimum boundary value in a model fit.
frozen : bool
Whether the parameter is free to be varied in a model fit.
Attributes Summary
quantity
Methods Summary
from_dict
(data)from_dict_gammacat
(data)from_dict_xml
(data)to_dict
()to_sherpa
([modelname])Convert to sherpa parameter to_xml
()Attributes Documentation
-
quantity
¶
Methods Documentation
-