|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--analyzer.stat.TimeSeries
Class for representing time series data. Calculates mean and varience, and allows for imin and imax cutoffs.
Field Summary | |
protected double |
corrtime
The autocorrelation time. |
double[] |
data
The time series data |
protected int |
imax
The ending cutoff for calculating statistics. |
protected int |
imin
The starting cutoff for calculating statistics. |
protected double |
mean
The mean. |
protected double |
var
The varience. |
Constructor Summary | |
TimeSeries(double[] data)
Create a TimeSeries object that refers to the given array. |
Method Summary | |
protected void |
calcMean()
|
double |
getCorrTime()
Return the autocorrelation time being used for estimating the error of the mean. |
int |
getIMax()
|
int |
getIMin()
|
double |
getMean()
Return the mean. |
double |
getMeanErr()
Return the error of the mean. |
double |
getVar()
Return the varience. |
void |
setCorrTime(double time)
Set the autocorrelation time. |
void |
setIMax(int i)
Set the ending cutoff for calculating statistics. |
void |
setIMin(int i)
Set the starting cutoff for calculating statistics. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected double mean
protected double var
protected double corrtime
protected int imin
protected int imax
public double[] data
Constructor Detail |
public TimeSeries(double[] data)
Method Detail |
public void setIMin(int i)
public void setIMax(int i)
public void setCorrTime(double time)
public double getMean()
public double getMeanErr()
public double getVar()
public double getCorrTime()
public int getIMin()
public int getIMax()
protected void calcMean()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |