Acoular 24.05 documentation

ChannelMixer

«  AngleTracker   ::   tprocess   ::   SpatialInterpolator  »

ChannelMixer

class acoular.tprocess.ChannelMixer

Bases: TimeInOut

Class for directly mixing the channels of a multi-channel source. Outputs a single channel.

weights = CArray(desc='channel weights')

Amplitude weight(s) for the channels as array. If not set, all channels are equally weighted.

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

The last block may be shorter than num.

«  AngleTracker   ::   tprocess   ::   SpatialInterpolator  »