Acoular 21.05 documentation

TimePower

«  Mixer   ::   tprocess   ::   TimeAverage  »

TimePower

class acoular.tprocess.TimePower

Bases: acoular.tprocess.TimeInOut

Calculates time-depended power of the signal.

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
Squared output of source.

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

«  Mixer   ::   tprocess   ::   TimeAverage  »