DataSourceIndependent
, IDataSource
, DataSourceMSD.MSDSink
public class DataSourceHistogramMSD extends java.lang.Object implements IDataSource, DataSourceIndependent, DataSourceMSD.MSDSink
Modifier and Type | Field | Description |
---|---|---|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected boolean |
enabled |
|
protected Histogram[] |
histograms |
|
protected IntegratorMD |
integrator |
|
protected int |
interval |
|
protected long |
step0 |
|
protected DataTag |
tag |
|
protected DataDoubleArray |
xData |
|
protected DataDoubleArray.DataInfoDoubleArray |
xDataInfo |
|
protected DataTag |
xTag |
Constructor | Description |
---|---|
DataSourceHistogramMSD(IntegratorMD integrator) |
Modifier and Type | Method | Description |
---|---|---|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
boolean |
getEnabled() |
|
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 |
putMSD(int log2interval,
long step,
double msd) |
|
void |
resetStep0() |
|
void |
setEnabled(boolean isEnabled) |
|
void |
setInterval(int i) |
protected DataDoubleArray xData
protected DataDoubleArray.DataInfoDoubleArray xDataInfo
protected DataFunction data
protected DataFunction.DataInfoFunction dataInfo
protected final DataTag xTag
protected final DataTag tag
protected final IntegratorMD integrator
protected long step0
protected boolean enabled
protected int interval
protected Histogram[] histograms
public DataSourceHistogramMSD(IntegratorMD integrator)
public void resetStep0()
public void setInterval(int i)
public void setEnabled(boolean isEnabled)
public boolean getEnabled()
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
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
public void putMSD(int log2interval, long step, double msd)
putMSD
in interface DataSourceMSD.MSDSink