Acoular 21.05 documentation

SineGenerator

«  FiltWNoiseGenerator   ::   signals   ::   GenericSignalGenerator  »

SineGenerator

class acoular.signals.SineGenerator

Bases: acoular.signals.SignalGenerator

Sine signal generator with adjustable frequency and phase.

freq = Float(1000.0, …

Sine wave frequency, float, defaults to 1000.0.

phase = Float(0.0, …

Sine wave phase (in radians), float, defaults to 0.0.

rms = Property(desc='rms amplitude')

RMS of source signal (for point source: in 1 m distance). Deprecated. For amplitude use amplitude.

amplitude = Property(desc='amplitude')

Amplitude of source signal (for point source: in 1 m distance). Defaults to 1.0.

signal()

Deliver the signal.

Returns
array of floats

The resulting signal as an array of length numsamples.

«  FiltWNoiseGenerator   ::   signals   ::   GenericSignalGenerator  »