DataPipe
, DataPipeForked
, IDataSink
, IDataSource
public class AccumulatorMimicMu extends AccumulatorAverageFixed
AccumulatorAverage.StatType
Modifier and Type | Field | Description |
---|---|---|
protected DataGroup |
data |
|
protected IntegratorBox |
integrator |
average, AVERAGE, BLOCK_CORRELATION, blockCorrelation, blockCountDown, blockSize, count, dataGroup, doIncludeACInError, error, ERROR, MOST_RECENT, mostRecent, STANDARD_DEVIATION, standardDeviation
blockDataSink, blockFilename, blockVarSum, correlationSum, currentBlockAvg, firstBlock, mostRecentBlock, negativeChop, numSavedBlockData, sanityCheckBC, savedBlockData, sumSquare, work, work2
active, hasUnpushedData, pushInterval, putCount
dataInfo, dataSink, tag
Constructor | Description |
---|---|
AccumulatorMimicMu(IntegratorBox integrator) |
Modifier and Type | Method | Description |
---|---|---|
IData |
processData(IData inputData) |
Returns getData() every pushInterval times it is invoked, otherwise returns null
(thereby preventing transmission of data to the next DataSinks).
|
void |
putDataInfo(IDataInfo dataInfo) |
Invokes processDataInfo on the given DataInfo, and passes the returned
DataInfo to the dataSink (if not null).
|
addDataSink, doIncludeACInError, getBlockCount, getBlockSize, getData, getSampleCount, getTag, setBlockSize, setIncludeACInError, statChoices
addData, doBlockSum, getBlockDataSink, getData, getDoStrictBlockData, processDataInfo, readBlockData, reset, setBlockDataSink, setWriteBlocks, writeBlockData
getPushInterval, isActive, setActive, setPushInterval, toString
getDataInfo, getTag, putData
addDataSink, getDataSink, getDataSinks, removeDataSink, setDataSink, setDataSinks
getDataInfo, getTag
protected final IntegratorBox integrator
protected DataGroup data
public AccumulatorMimicMu(IntegratorBox integrator)
public void putDataInfo(IDataInfo dataInfo)
DataProcessor
putDataInfo
in interface IDataSink
putDataInfo
in class AccumulatorAverageFixed
public IData processData(IData inputData)
DataAccumulator
processData
in class DataAccumulator
inputData
- data to be processed.