Acoular 16.5 documentation

SineGenerator

«  PNoiseGenerator   ::   signals   ::   sources  »

SineGenerator

class acoular.signals.SineGenerator

Bases: acoular.signals.SignalGenerator

Sine signal generator with adjustable frequency and phase.

freq = Float(1000.0, desc="Frequency")

Sine wave frequency, float, defaults to 1000.0

phase = Float(0.0, desc="Phase")

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

signal()

Deliver the signal.

Returns:

array of floats

The resulting signal as an array of length numsamples.

«  PNoiseGenerator   ::   signals   ::   sources  »