Acoular 24.10 documentation

TimePower

«  Mixer   ::   tprocess   ::   TimeCumAverage  »

TimePower

class acoular.tprocess.TimePower

Bases: TimeOut

Calculates time-depended power of the signal.

source = Instance(SamplesGenerator)

Data source; SamplesGenerator or derived object.

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   ::   TimeCumAverage  »