Acoular 21.05 documentation

MovingPointSource

«  LineSource   ::   sources   ::   MovingPointSourceDipole  »

MovingPointSource

class acoular.sources.MovingPointSource

Bases: acoular.sources.PointSource

Class to define a point source with an arbitrary signal moving along a given trajectory. This can be used in simulations.

The output is being generated via the result() generator.

conv_amp = Bool(False, …

Considering of convective amplification

trajectory = Trait(Trajectory, …

Trajectory of the source, instance of the Trajectory class. The start time is assumed to be the same as for the samples.

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.

«  LineSource   ::   sources   ::   MovingPointSourceDipole  »