Acoular 19.11 documentation

SpatialInterpolatorRotation

«  SpatialInterpolator   ::   tprocess   ::   SpatialInterpolatorConstantRotation  »

SpatialInterpolatorRotation

class acoular.tprocess.SpatialInterpolatorRotation

Bases: acoular.tprocess.SpatialInterpolator

Spatial Interpolation for rotating sources. Gets samples from source and angles from AngleTracker.Generates output via the generator result()

angle_source = Instance(AngleTracker)

Angle data from AngleTracker class

result(self, num=128)

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, numchannels).

The last block may be shorter than num.

«  SpatialInterpolator   ::   tprocess   ::   SpatialInterpolatorConstantRotation  »