Acoular 24.05 documentation

Filter

«  TimeReverse   ::   tprocess   ::   FilterBank  »

Filter

class acoular.tprocess.Filter

Bases: TimeInOut

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

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.

«  TimeReverse   ::   tprocess   ::   FilterBank  »