NoiseGenerator#
- class acoular.signals.NoiseGenerator
Bases:
SignalGeneratorAbstract base class for noise signal generators.
The
NoiseGeneratorclass defines the common interface for allSignalGeneratorclasses with noise signals. This class may be used as a base for class handling noise signals that can be characterized by their RMS amplitude.It should not be used directly as it contains no real functionality.
See also
PNoiseGeneratorFor pink noise generation.
WNoiseGeneratorFor pink white generation.
UncorrelatedNoiseSourceFor per-channel noise generation.
- rms = Float(1.0, desc='rms amplitude')
Root mean square (RMS) amplitude of the signal. For a point source, this corresponds to the RMS amplitude at a distance of 1 meter. Default is
1.0.
- seed = Int(0, desc='random seed value')
Seed for random number generator. Default is
0. This parameter should be set differently for different instances to guarantee statistically independent (non-correlated) outputs.
- digest = Property(depends_on=['rms', 'seed', 'sample_freq', 'num_samples'])
Internal identifier based on generator properties. (read-only)
- abstractmethod signal()
Generate and deliver the periodic signal.