SpatialInterpolatorRotation#
- class acoular.tprocess.SpatialInterpolatorRotation
Bases:
SpatialInterpolatorSpatial interpolation class for rotating sound sources.
This class extends
SpatialInterpolatorto handle sources that undergo rotational movement. It retrieves samples from thesourceattribute and angle data from theAngleTrackerinstance (angle_source). Using these inputs, it computes interpolated outputs through theresult()generator method.See also
SpatialInterpolatorBase 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:
- num
int, optional Number of samples per block. Default is
128.
- num
- Yields:
numpy.ndarrayInterpolated time signal samples in blocks of shape (
num,num_channels), wherenum_channelsis inherited from theSpatialInterpolatorbase class. The last block may contain fewer samples if the total number of samples is not a multiple ofnum.