public class FIRFilter.FIROutput extends BlockwiseDoubleDataSource
| Modifier and Type | Field and Description |
|---|---|
protected FrameProvider |
frameProvider |
protected int |
nTailCutoff |
blockSizebuf, dataProcessor, DEFAULT_BUFFERSIZE, readPos, writePosdataLength, inputSourceNOT_SPECIFIED| Constructor and Description |
|---|
FIRFilter.FIROutput(DoubleDataSource inputSource) |
| Modifier and Type | Method and Description |
|---|---|
int |
getData(double[] target,
int targetPos,
int length)
This implementation of getData() will cut off a tail corresponding to half of the FIR filter.
|
boolean |
hasMoreData()
Whether or not any more data can be read from this data source.
|
protected int |
readBlock(double[] target,
int targetPos)
Try to get a block of getBlockSize() doubles from this DoubleDataSource, and copy them into target, starting from
targetPos.
|
getBlockSize, prepareBlock, readIntoBufferavailable, bufferSpaceLeft, compact, currentlyInBuffer, increaseBufferSizegetAllData, getData, getData, getDataLengthprotected FrameProvider frameProvider
protected int nTailCutoff
public FIRFilter.FIROutput(DoubleDataSource inputSource)
public boolean hasMoreData()
BufferedDoubleDataSourcehasMoreData in interface DoubleDataSourcehasMoreData in class BufferedDoubleDataSourcepublic int getData(double[] target,
int targetPos,
int length)
getData in interface DoubleDataSourcegetData in class BufferedDoubleDataSourcetarget - the double array to write intotargetPos - position in target where to start writinglength - the amount of data requestedprotected int readBlock(double[] target,
int targetPos)
readBlock in class BlockwiseDoubleDataSourcetarget - the double array to write intotargetPos - position in target where to start writingCopyright © 2000–2016 DFKI GmbH. All rights reserved.