Acoular 25.03 documentation

TimeCumAverage

«  TimePower   ::   tprocess   ::   TimeReverse  »

TimeCumAverage

class acoular.tprocess.TimeCumAverage

Bases: TimeOut

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, num_channels). The last block may be shorter than num.

«  TimePower   ::   tprocess   ::   TimeReverse  »