Acoular 16.5 documentation

FiltFiltOctave

«  TimeReverse   ::   tprocess   ::   FiltOctave  »

FiltFiltOctave

class acoular.tprocess.FiltFiltOctave

Bases: acoular.tprocess.TimeInOut

Octave or third-octave filter with zero phase delay.

This filter can be applied on time signals. It requires large amounts of memory!

band = Float(1000.0, desc = "band center frequency")

Band center frequency; defaults to 1000.

fraction = Trait('Octave', {'Octave':1, 'Third octave':3}, desc = "fraction of octave")

Octave fraction: ‘Octave’ or ‘Third octave’; defaults to ‘Octave’.

ba(order)

Internal Butterworth filter design routine.

Parameters:

order : integer

The order of the filter.

Returns:

b, a : ndarray, ndarray

Filter coefficients

result(num)

Python generator that yields the output block-wise.

Parameters:

num : integer

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 zero-phase bandpass filtered output of source. The last block may be shorter than num.

«  TimeReverse   ::   tprocess   ::   FiltOctave  »