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 fromsource
and generates output via the generatorresult()
.- 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.
- Samples in blocks of shape (num,