DataSourceIndependent
, IDataSource
, ConfigurationStorage.ConfigurationStorageListener
public class DataSourceMSD extends java.lang.Object implements IDataSource, ConfigurationStorage.ConfigurationStorageListener, DataSourceIndependent
Modifier and Type | Class | Description |
---|---|---|
static interface |
DataSourceMSD.MSDSink |
Modifier and Type | Field | Description |
---|---|---|
protected ConfigurationStorage |
configStorage |
|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected DataFunction |
errData |
|
protected int |
minInterval |
|
protected double[] |
msd2Sum |
|
protected java.util.List<DataSourceMSD.MSDSink> |
msdSinks |
|
protected double[] |
msdSum |
|
protected double[] |
msdSumBlock |
|
protected long[] |
nSamples |
|
protected DataTag |
tag |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
|
protected AtomType |
type |
Constructor | Description |
---|---|
DataSourceMSD(ConfigurationStorage configStorage) |
|
DataSourceMSD(ConfigurationStorage configStorage,
AtomType type) |
Modifier and Type | Method | Description |
---|---|---|
void |
addMSDSink(DataSourceMSD.MSDSink sink) |
|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
DataTag |
getTag() |
|
void |
newConfigruation() |
|
protected void |
reallocate(int n) |
|
void |
reset() |
protected final ConfigurationStorage configStorage
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected DataFunction data
protected DataFunction errData
protected DataFunction.DataInfoFunction dataInfo
protected double[] msdSum
protected double[] msd2Sum
protected double[] msdSumBlock
protected final DataTag tTag
protected final DataTag tag
protected long[] nSamples
protected final AtomType type
protected java.util.List<DataSourceMSD.MSDSink> msdSinks
protected int minInterval
public DataSourceMSD(ConfigurationStorage configStorage)
public DataSourceMSD(ConfigurationStorage configStorage, AtomType type)
public void reset()
protected void reallocate(int n)
public void addMSDSink(DataSourceMSD.MSDSink sink)
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public void newConfigruation()
newConfigruation
in interface ConfigurationStorage.ConfigurationStorageListener
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData
in interface DataSourceIndependent
public DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent