FiniteTimeOut#

class acoular.base.FiniteTimeOut

Bases: TimeOut

Time-domain block that requires a source with a known length.

abstractmethod result(num)

Python generator that processes the source data and yields the time-signal block-wise.

This method needs to be implemented by the derived classes.

Parameters:
numint

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

Yields:
numpy.ndarray

Two-dimensional output data block of shape (num, num_channels)

source

Data source; Generator or derived object.

sample_freq

Sampling frequency of output signal, as given by source.

num_channels

Number of channels in output, as given by source.

num_samples

Number of samples in output, as given by source.

digest

A unique identifier for the generator, based on its properties. (read-only)