edu.wisc.ssec.mcidasv.data.hydra
Class Statistics
java.lang.Object
edu.wisc.ssec.mcidasv.data.hydra.Statistics
public class Statistics
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptiveStats
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics[] descriptiveStats
values_x
double[][] values_x
rngVals
double[][] rngVals
rngTupLen
int rngTupLen
numPoints
int numPoints
numGoodPoints
int[] numGoodPoints
statType
MathType statType
pCorrelation
org.apache.commons.math3.stat.correlation.PearsonsCorrelation pCorrelation
Statistics
public Statistics(FlatField fltFld)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
numPoints
public int numPoints()
- get the number of points in the domain of the FlatField
- Returns:
- number of points
getNumGoodPoints
public int[] getNumGoodPoints()
- get the number of non-missing points in each range component
- Returns:
- number of non-missing points
getRngVals
public double[][] getRngVals()
getValues
public double[][] getValues()
removeMissing
private double[] removeMissing(double[] vals)
removeMissing
private double[][] removeMissing(double[][] vals)
mean
public Data mean()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
geometricMean
public Data geometricMean()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
max
public Data max()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
min
public Data min()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
median
public Data median()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
variance
public Data variance()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
kurtosis
public Data kurtosis()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
standardDeviation
public Data standardDeviation()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
skewness
public Data skewness()
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
correlation
public Data correlation(FlatField fltFld)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
makeStat
private Data makeStat(double[] stats)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
removeMissingAND
private double[][] removeMissingAND(double[] vals_x,
double[] vals_y)