DataSourceIndependent, IDataSource, ConfigurationStorage.ConfigurationStorageListenerpublic 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 IDataSourcepublic DataTag getTag()
getTag in interface IDataSourcepublic IDataInfo getDataInfo()
getDataInfo in interface IDataSourcepublic void newConfigruation()
newConfigruation in interface ConfigurationStorage.ConfigurationStorageListenerpublic DataDoubleArray getIndependentData(int i)
DataSourceIndependentgetIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependentgetIndependentDataInfo in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependentgetIndependentArrayDimension in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependentgetIndependentTag in interface DataSourceIndependent