TimeCache¶
- class acoular.tprocess.TimeCache¶
Bases:
TimeInOut
Caches time signal in cache file.
- result(num)¶
Python generator that yields the output from cache 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, numchannels).
The last block may be shorter than num. Echos the source output, but reads it from cache when available and prevents unnecassary recalculation.