# MovingPointSource¶

class acoular.sources.MovingPointSource

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.

trajectory = Trait(Trajectory, desc="trajectory of the source")

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: num : integer, defaults to 128 This parameter defines the size of the blocks to be yielded (i.e. the number of samples per block). Samples in blocks of shape (num, numchannels). The last block may be shorter than num.