Likelihood¶
-
class
gammapy.utils.fitting.
Likelihood
(function, parameters)[source]¶ Bases:
object
Wrapper of the likelihood function used by the optimiser.
This might become superfluous if we introduce a generic
Likelihood
interface and use that directly, or change theFit
class to work withModel
andLikelihood
objects.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
(factors)Methods Documentation