Acoular 16.5 documentation


«  TimePower   ::   tprocess   ::   TimeReverse  »


class acoular.tprocess.TimeAverage

Bases: acoular.tprocess.TimeInOut

Calculates time-depended average of the signal

naverage = Int(64, desc = "number of samples to average over")

Number of samples to average over, defaults to 64.

sample_freq = Property( depends_on = 'source.sample_freq, naverage')

Sampling frequency of the output signal, is set automatically.

numsamples = Property( depends_on = 'source.numsamples, naverage')

Number of samples of the output signal, is set automatically.


Python generator that yields the output block-wise.


num : integer

This parameter defines the size of the blocks to be yielded (i.e. the number of samples per block)


Average of the output of source.

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

«  TimePower   ::   tprocess   ::   TimeReverse  »