Acoular 24.03 documentation

TimeCumAverage

«  TimeCache   ::   tprocess   ::   WriteWAV  »

TimeCumAverage

class acoular.tprocess.TimeCumAverage

Bases: TimeInOut

Calculates cumulative average of the signal, useful for Leq

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:
Cumulative average of the output of source.

Yields samples in blocks of shape (num, numchannels). The last block may be shorter than num.

«  TimeCache   ::   tprocess   ::   WriteWAV  »