Acoular 25.03 documentation

PeriodicSignalGenerator

«  SignalGenerator   ::   signals   ::   NoiseGenerator  »

PeriodicSignalGenerator

class acoular.signals.PeriodicSignalGenerator

Bases: SignalGenerator

Abstract base class for periodic signal generators.

The PeriodicSignalGenerator class defines the common interface for all SignalGenerator-derived classes with periodic signals. This class may be used as a base for class handling periodic signals that can be characterized by their frequency, phase and amplitude.

It should not be used directly as it contains no real functionality.

See also

SineGenerator

Generate a sine signal.

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

The frequency of the signal. Default is 1000.0.

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

The phase of the signal (in radians). Default is 0.0.

amplitude = Float(1.0)

The amplitude of the signal. Default is 1.0.

digest = Property(depends_on=['amplitude', 'num_samples', 'sample_freq', 'freq', 'phase'])

Internal identifier based on generator properties. (read-only)

abstractmethod signal()

Deliver the signal.

«  SignalGenerator   ::   signals   ::   NoiseGenerator  »