DataSourceIndependent
, DataSinkBlockAveragerSFac.Sink
public class StructureFactorComponentCorrelation extends java.lang.Object implements DataSourceIndependent, DataSinkBlockAveragerSFac.Sink
Modifier and Type | Class | Description |
---|---|---|
class |
StructureFactorComponentCorrelation.Meter |
|
class |
StructureFactorComponentCorrelation.Sink |
Modifier and Type | Field | Description |
---|---|---|
protected ConfigurationStorage |
configStorage |
|
protected double[][] |
corSum |
|
protected DataFunction[] |
data |
|
protected DataFunction.DataInfoFunction[] |
dataInfo |
|
protected double[][][] |
lastXY |
|
protected int |
minInterval |
|
protected long[][] |
nSamples2 |
|
protected long[][] |
nSamplesCor |
|
protected boolean[] |
skipNow |
|
protected double[][] |
sum2 |
|
protected DataTag[] |
tag |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
|
protected int[] |
wvMap |
Constructor | Description |
---|---|
StructureFactorComponentCorrelation(int[] wvMap,
ConfigurationStorage configStorage) |
|
StructureFactorComponentCorrelation(int nWaveVectors,
ConfigurationStorage configStorage) |
Modifier and Type | Method | Description |
---|---|---|
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.
|
StructureFactorComponentCorrelation.Meter |
makeMeter(int idx) |
|
StructureFactorComponentCorrelation.Sink |
makeSink(int idx,
MeterStructureFactor meterSFac) |
|
static int[] |
makeWaveVectorMap(Vector[] waveVectors,
int motionDim) |
|
void |
putData(int j,
double[][] xyData) |
|
void |
putData(int j,
IData inputData,
double[] phaseAngles) |
|
protected void |
reallocate(int n) |
|
void |
reset() |
|
void |
setMinInterval(int minInterval) |
|
protected void |
setTimeData() |
protected double[][][] lastXY
protected double[][] corSum
protected double[][] sum2
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected final DataFunction[] data
protected final DataFunction.DataInfoFunction[] dataInfo
protected final DataTag[] tag
protected final DataTag tTag
protected final ConfigurationStorage configStorage
protected long[][] nSamplesCor
protected long[][] nSamples2
protected int minInterval
protected boolean[] skipNow
protected final int[] wvMap
public StructureFactorComponentCorrelation(int nWaveVectors, ConfigurationStorage configStorage)
public StructureFactorComponentCorrelation(int[] wvMap, ConfigurationStorage configStorage)
public static int[] makeWaveVectorMap(Vector[] waveVectors, int motionDim)
public void setMinInterval(int minInterval)
public void reset()
protected void reallocate(int n)
protected void setTimeData()
public void putData(int j, double[][] xyData)
putData
in interface DataSinkBlockAveragerSFac.Sink
public void putData(int j, IData inputData, double[] phaseAngles)
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 StructureFactorComponentCorrelation.Sink makeSink(int idx, MeterStructureFactor meterSFac)
public StructureFactorComponentCorrelation.Meter makeMeter(int idx)