Class LikilihoodError

java.lang.Object
Localiser.algorithms.locErrors.EllipticalError
Localiser.algorithms.locErrors.LikilihoodError
All Implemented Interfaces:
LocaliserError

public class LikilihoodError extends EllipticalError
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
  • Constructor Details

  • Method Details

    • getError

      public double getError(PamVector errorDirection)
      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 interface LocaliserError
      Overrides:
      getError in class EllipticalError
      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.