Acoular 22.3 documentation


«  SphericalHarmonicSource   ::   sources   ::   MovingPointSource  »


class acoular.sources.LineSource

Bases: acoular.sources.PointSource

Class to define a fixed Line source with an arbitrary signal. This can be used in simulations.

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

direction = Tuple((0.0, 0.0, 1.0), …

Vector to define the orientation of the line source

length = Float(1,desc="length of the line source")

Vector to define the length of the line source in m

num_sources = Int(1)

number of monopol sources in the line source

source_strength = CArray(desc="coefficients of the source strength")

source strength for every monopole

coherence = Trait( 'coherent', 'incoherent', …



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

numinteger, 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.

«  SphericalHarmonicSource   ::   sources   ::   MovingPointSource  »