# SphericalHarmonicSource¶

class acoular.sources.SphericalHarmonicSource

Class to define a fixed Spherical Harmonic Source with an arbitrary signal. This can be used in simulations.

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

lOrder = Int(0, …

Order of spherical harmonic source

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

Vector to define the orientation of the SphericalHarmonic.

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.