SpatialInterpolatorConstantRotation¶
- class acoular.tprocess.SpatialInterpolatorConstantRotation¶
Bases:
SpatialInterpolator
Spatial linear Interpolation for constantly rotating sources. Gets samples from
source
and generates output via the generatorresult()
.- rotational_speed = Float(0.0)¶
Rotational speed in rps. Positive, if rotation is around positive z-axis sense, which means from x to y axis.
- result(num=1)¶
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.
- Samples in blocks of shape (num,