Acoular 24.05 documentation

TimeConvolve

«  SampleSplitter   ::   tprocess   ::   trajectory  »

TimeConvolve

class acoular.tprocess.TimeConvolve

Bases: TimeInOut

Uniformly partitioned overlap-save method (UPOLS) for fast convolution in the frequency domain, see Wefers, 2015.

kernel = CArray(dtype=float, desc='Convolution kernel.')

Convolution kernel in the time domain. The second dimension of the kernel array has to be either 1 or match numchannels. If only a single kernel is supplied, it is applied to all channels.

result(num=128)

Python generator that yields the output block-wise. The source output is convolved with the kernel.

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).

The last block may be shorter than num.

«  SampleSplitter   ::   tprocess   ::   trajectory  »