Acoular 24.05 documentation

MovingLineSource

«  MovingPointSourceDipole   ::   sources   ::   UncorrelatedNoiseSource  »

MovingLineSource

class acoular.sources.MovingLineSource

Bases: LineSource, MovingPointSource

rvec = CArray(dtype=float, shape=(3,), value=array((0, 0, 0)), desc='reference vector')

Reference vector, perpendicular to the x and y-axis of moving source. rotation source directivity around this axis

get_moving_direction(direction, time=0)

Function that yields the moving coordinates along the trajectory.

result(num=128)

Python generator that yields the output at microphones block-wise.

Parameters:
numinteger, defaults to 128

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.

«  MovingPointSourceDipole   ::   sources   ::   UncorrelatedNoiseSource  »