public class AllometricScaling extends Object
| Modifier and Type | Field and Description |
|---|---|
private AbstractOperator |
operator |
private int |
progressBarMax |
private int |
progressBarMin |
| Constructor and Description |
|---|
AllometricScaling()
This is the standard constructor
|
AllometricScaling(AbstractOperator operator)
This is the standard constructor with the possibility to import calling class
This is useful for progress bar and canceling functionality
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
calcLogRegression(Vector[] asData,
int regStart,
int regEnd,
String plotName,
boolean showPlot,
boolean deleteExistingPlot) |
private double |
calcMean(Vector<Double> data)
This method calculates the mean of a series
|
Vector[] |
calcMeansAndVariances(Vector<Double> data)
This method calculates the standard deviations and the means of the downscaled data series
|
private double |
calcStdDev(Vector<Double> data,
double mean)
This method calculates the standard deviation of a series
|
private double |
calcVariance(Vector<Double> data,
double mean)
This method calculates the variance of a series
|
int |
getProgressBarMax() |
int |
getProgressBarMin() |
void |
setProgressBarMax(int progressBarMax) |
void |
setProgressBarMin(int progressBarMin) |
private AbstractOperator operator
private int progressBarMin
private int progressBarMax
public AllometricScaling(AbstractOperator operator)
operator - public AllometricScaling()
public int getProgressBarMin()
public void setProgressBarMin(int progressBarMin)
public int getProgressBarMax()
public void setProgressBarMax(int progressBarMax)
private double calcMean(Vector<Double> data)
data - a vector of doublesprivate double calcStdDev(Vector<Double> data, double mean)
data - a vector of doublesmean - private double calcVariance(Vector<Double> data, double mean)
data - the datamean - public Vector[] calcMeansAndVariances(Vector<Double> data)
data - 1D data vectorCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.