Acoular 25.01 documentation

MaskedTimeOut

«  tprocess   ::   tprocess   ::   Trigger  »

MaskedTimeOut

class acoular.tprocess.MaskedTimeOut

Bases: TimeOut

Signal processing block for channel and sample selection.

This class serves as intermediary to define (in)valid channels and samples for any SamplesGenerator (or derived) object. It gets samples from source and generates output via the generator result().

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:
Samples in blocks of shape (num, num_channels).

The last block may be shorter than num.

«  tprocess   ::   tprocess   ::   Trigger  »