SpatialInterpolatorRotation#

class acoular.tprocess.SpatialInterpolatorRotation

Bases: SpatialInterpolator

Spatial interpolation class for rotating sound sources.

This class extends SpatialInterpolator to handle sources that undergo rotational movement. It retrieves samples from the source attribute and angle data from the AngleTracker instance (angle_source). Using these inputs, it computes interpolated outputs through the result() generator method.

See also

SpatialInterpolator

Base class for spatial interpolation of microphone data.

angle_source = Instance(AngleTracker)

Provides real-time tracking of the source’s rotation angles, instance of AngleTracker.

digest = Property(

Unique identifier for the current configuration of the interpolator. (read-only)

result(num=128)

Generate interpolated output samples in block-wise fashion.

This method acts as a generator, yielding time-domain time signal samples that have been spatially interpolated based on rotational movement.

Parameters:
numint, optional

Number of samples per block. Default is 128.

Yields:
numpy.ndarray

Interpolated time signal samples in blocks of shape (num, num_channels), where num_channels is inherited from the SpatialInterpolator base class. The last block may contain fewer samples if the total number of samples is not a multiple of num.