|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhpro.stat.EEcentricity
public class EEcentricity
A class for accentricity calculations using a principle component analysis. It calculates variances alone the principal axis and the eccentricity.
Constructor Summary | |
---|---|
EEcentricity(double[] x,
double[] y,
double[] w)
Initialize 2D PCA analysis |
|
EEcentricity(P1D p1d)
Perform PCA analysis using P1D object (in 2D). |
Method Summary | |
---|---|
void |
doc()
Show online documentation. |
double |
getAngle()
Returns angle of ellipse rotation (angle of the principial axis) |
double |
getEccentricity()
Get eccentricity, defined as 1-VarianceMin / VarianceMax. |
double |
getVarianceMax()
Get variance alone the major axis (longest component) |
double |
getVarianceMin()
Get variance alone the minor (shortest component) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EEcentricity(double[] x, double[] y, double[] w)
x
- array in Xy
- array in Y (the same size as for X)w
- points weights (can be set to 1 if all points are treated with
the same weight)public EEcentricity(P1D p1d)
p1d
- P1D input objectsMethod Detail |
---|
public double getAngle()
public double getVarianceMin()
public double getVarianceMax()
public double getEccentricity()
public void doc()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |