|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Generates multirate noise using a hierarchical tree structure. More...
#include "noise_generators.h"
Inheritance diagram for noise::MultirateGenerator:
Collaboration diagram for noise::MultirateGenerator:Public Member Functions | |
| MultirateGenerator (std::mt19937 &rngEngine, RealType alpha, unsigned branches) | |
| Constructor to initialize the multirate generator. | |
| RealType | getSample () override |
| Generates a multirate noise sample. | |
| void | skipSamples (long long samples) noexcept |
| Skips a number of samples in the noise sequence. | |
| void | reset () noexcept |
| Resets the noise generator state. | |
Generates multirate noise using a hierarchical tree structure.
Definition at line 117 of file noise_generators.h.
| noise::MultirateGenerator::MultirateGenerator | ( | std::mt19937 & | rngEngine, |
| RealType | alpha, | ||
| unsigned | branches | ||
| ) |
Constructor to initialize the multirate generator.
| rngEngine | The random number engine to use for generation. |
| alpha | The scaling parameter that controls the noise properties. |
| branches | The number of branches in the tree structure. |
Definition at line 24 of file noise_generators.cpp.
|
overridevirtual |
Generates a multirate noise sample.
Implements noise::NoiseGenerator.
Definition at line 134 of file noise_generators.h.
|
noexcept |
Resets the noise generator state.
Definition at line 85 of file noise_generators.cpp.
References noise::FAlphaBranch::flush(), and noise::FAlphaBranch::getPre().
Here is the call graph for this function:
|
noexcept |
Skips a number of samples in the noise sequence.
| samples | The number of samples to skip. |
Definition at line 37 of file noise_generators.cpp.
References noise::FAlphaBranch::getPre(), and noise::FAlphaBranch::getSample().
Here is the call graph for this function: