Package Localiser.algorithms.locErrors
Class LikilihoodError
java.lang.Object
Localiser.algorithms.locErrors.EllipticalError
Localiser.algorithms.locErrors.LikilihoodError
- All Implemented Interfaces:
LocaliserError
Errors are generated from the curvature of a Chi2 surface. Saves the error as an ellipse. Thus, once saved
some information will be lost.
- Author:
- Jamie Macaulay
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLikilihoodError
(MinimisationFunction chi2, double[] point) LikilihoodError
(MinimisationFunction chi2, double[] point, int nDim) -
Method Summary
Modifier and TypeMethodDescriptiondouble
Return the error in a particular direction.double
logLikelihood
(double[] location) The log likilihood.Methods inherited from class Localiser.algorithms.locErrors.EllipticalError
getAngles, getEllipseDim, getErrorDirection, getErrorDraw, getErrorEllipse, getErrorEllipse2D, getErrorMagnitude, getJsonErrorString, getStringResult, setErrorEllipse, toString
-
Constructor Details
-
LikilihoodError
-
LikilihoodError
-
-
Method Details
-
getError
Description copied from interface:LocaliserError
Return the error in a particular direction. The direction is based on the 3D Cartesian co-ordinate grid the localisation took place in.- Specified by:
getError
in interfaceLocaliserError
- Overrides:
getError
in classEllipticalError
- Parameters:
errorDirection
- - the direction of the error to find- Returns:
- the value of the error in the direction specified.
-
logLikelihood
public double logLikelihood(double[] location) The log likilihood.- Parameters:
location
- - the point on the chi2 surface to fin dlog likilhood for.- Returns:
- the log likilihood.
-