Likelihood¶
-
class
gammapy.utils.fitting.Likelihood(function, parameters)[source]¶ Bases:
objectWrapper of the likelihood function used by the optimiser.
This might become superfluous if we introduce a generic
Likelihoodinterface and use that directly, or change theFitclass to work withModelandLikelihoodobjects.For now, this class does the translation of parameter values and the parameter factors the optimiser sees.
Parameters: - parameters :
Parameters Parameters with starting values
- function : callable
Likelihood function
Methods Summary
fcn(self, factors)Methods Documentation
- parameters :