Class EllipsoidFitHelper
Object
org.anchoranalysis.plugin.points.bean.fitter.EllipsoidFitHelper
public class EllipsoidFitHelper extends Object
Helper class for fitting ellipsoids to point data.
-
Method Summary
Modifier and Type Method Description static FitResultcreateFitResultFromMatrixAandCenter(cern.colt.matrix.DoubleMatrix2D matrixA, cern.colt.matrix.DoubleMatrix2D matrixCenter, boolean suppressZCovariance)Creates aFitResultfrom the matrix A and center matrix.
-
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.PointsFitterExceptionCreates aFitResultfrom the matrix A and center matrix.- Parameters:
matrixA- the matrix A representing the ellipsoidmatrixCenter- the matrix representing the center of the ellipsoidsuppressZCovariance- whether to suppress Z covariance- Returns:
- a
FitResultcontaining the fitted ellipsoid parameters - Throws:
org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException- if there's an error during the fitting process
-