ParameterList¶
-
class
gammapy.utils.modeling.ParameterList(parameters, covariance=None)[source]¶ Bases:
objectList of
ParametersHolds covariance matrix
Parameters: parameters : list of
ParameterList of parameters
covariance :
ndarrayParameters covariance matrix. Order of values as specified by
parameters.Attributes Summary
freeReturn list of free parameters names. frozenReturn list of frozen parameters names. namesList of parameter names Methods Summary
covariance_to_table()Serialize parameter covariance into Tableerror(parname)Return error on a given parameter from_dict(val)from_list_of_dict_gammacat(data)from_list_of_dict_xml(data)set_parameter_covariance(covariance, covar_axis)Set full correlated parameters errors. set_parameter_errors(errors)Set uncorrelated parameters errors. to_dict()to_list_of_dict()to_table()Serialize parameter list into Tableto_xml()Attributes Documentation
-
free¶ Return list of free parameters names.
-
frozen¶ Return list of frozen parameters names.
-
names¶ List of parameter names
Methods Documentation
-
set_parameter_covariance(covariance, covar_axis)[source]¶ Set full correlated parameters errors.
Parameters: covariance : array-like
Covariance matrix
covar_axis : list
List of strings defining the parameter order in covariance
-