Filter¶
- class acoular.tprocess.Filter¶
Bases:
TimeOut
Abstract base class for IIR filters based on scipy lfilter implements a filter with coefficients that may be changed during processing.
Should not be instanciated by itself
- source = Instance(SamplesGenerator)¶
Data source;
SamplesGenerator
or derived object.
- sos = Property()¶
Filter coefficients
- result(num)¶
Python generator that yields the output block-wise.
- Parameters:
- numinteger
This parameter defines the size of the blocks to be yielded (i.e. the number of samples per block).
- Returns:
- Samples in blocks of shape (num, numchannels).
Delivers the bandpass filtered output of source. The last block may be shorter than num.