|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--analyzer.stat.ScalarSeries
Class for representing time series data. Calculates mean and varience, and allows for imin and imax cutoffs.
Field Summary | |
protected double |
autocor
The autocorrelation time. |
double[] |
data
The time series data |
protected javax.swing.event.EventListenerList |
listenerList
Data listeners for this object |
protected double |
mean
The mean. |
protected double |
sigma
The standard deviation. |
protected double |
var
The varience. |
protected DoubleWindowModel |
window
The cutoff window for calculating statistics. |
Constructor Summary | |
ScalarSeries(double[] data)
Create a ScalarSeries object that refers to the given array. |
Method Summary | |
void |
addListener(DataListener e)
|
protected void |
calcMean()
|
void |
dataChanged(java.lang.Object o)
|
protected void |
fireListeners(java.lang.Object o)
|
double |
getAutoCorr()
Return the autocorrelation time being used for estimating the error of the mean. |
double[] |
getData()
Return the data. |
double |
getErrorOfMean()
Return the error of the mean. |
double |
getMean()
Return the mean. |
double |
getSigma()
Return the standard deviation. |
double |
getVarience()
Return the varience. |
DoubleWindowModel |
getWindow()
Return the model for the datarange. |
void |
setAutocor(double time)
Set the autocorrelation time. |
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 sigma
protected double autocor
protected DoubleWindowModel window
public double[] data
protected javax.swing.event.EventListenerList listenerList
Constructor Detail |
public ScalarSeries(double[] data)
Method Detail |
public void setAutocor(double time)
public double[] getData()
public double getMean()
public double getErrorOfMean()
public double getVarience()
public double getSigma()
public double getAutoCorr()
public DoubleWindowModel getWindow()
protected void calcMean()
public void addListener(DataListener e)
protected void fireListeners(java.lang.Object o)
public void dataChanged(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |