public class Signal2EnergyConverter extends BufferedDoubleDataSource
| Modifier and Type | Field and Description |
|---|---|
protected static InlineDataProcessor |
processor |
buf, dataProcessor, DEFAULT_BUFFERSIZE, readPos, writePosdataLength, inputSourceNOT_SPECIFIED| Constructor and Description |
|---|
Signal2EnergyConverter(double[] signal) |
Signal2EnergyConverter(DoubleDataSource signal) |
| Modifier and Type | Method and Description |
|---|---|
void |
processNewData(int off,
int len)
For each signal sample, compute the signal energy as the square of the signal sample.
|
available, bufferSpaceLeft, compact, currentlyInBuffer, getData, hasMoreData, increaseBufferSize, readIntoBuffergetAllData, getData, getData, getDataLengthprotected static InlineDataProcessor processor
public Signal2EnergyConverter(double[] signal)
public Signal2EnergyConverter(DoubleDataSource signal)
Copyright © 2000–2016 DFKI GmbH. All rights reserved.