Acoular 24.07 documentation


«  SamplesGenerator   ::   tprocess   ::   MaskedTimeInOut  »


class acoular.tprocess.TimeInOut

Bases: SamplesGenerator

Base class for any time domain signal processing block, gets samples from source and generates output via the generator result().

source = Trait(SamplesGenerator)

Data source; SamplesGenerator or derived object.

sample_freq = Delegate('source')

Sampling frequency of output signal, as given by source.

numchannels = Delegate('source')

Number of channels in output, as given by source.

numsamples = Delegate('source')

Number of samples in output, as given by source.


Python generator: dummy function, just echoes the output of source, yields samples in blocks of shape (num, numchannels), the last block may be shorter than num.

«  SamplesGenerator   ::   tprocess   ::   MaskedTimeInOut  »