Class EllipsoidFitHelper

Object
org.anchoranalysis.plugin.points.bean.fitter.EllipsoidFitHelper

public class EllipsoidFitHelper
extends Object
Helper class for fitting ellipsoids to point data.
  • Method Details

    • createFitResultFromMatrixAandCenter

      public static FitResult createFitResultFromMatrixAandCenter​(cern.colt.matrix.DoubleMatrix2D matrixA, cern.colt.matrix.DoubleMatrix2D matrixCenter, boolean suppressZCovariance) throws org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException
      Creates a FitResult from the matrix A and center matrix.
      Parameters:
      matrixA - the matrix A representing the ellipsoid
      matrixCenter - the matrix representing the center of the ellipsoid
      suppressZCovariance - whether to suppress Z covariance
      Returns:
      a FitResult containing the fitted ellipsoid parameters
      Throws:
      org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException - if there's an error during the fitting process