|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Class responsible for generating fractional and integer noise components. More...
#include "falpha_branch.h"
Public Member Functions | |
| FAlphaBranch (std::mt19937 &rngEngine, RealType ffrac, unsigned fint, std::unique_ptr< FAlphaBranch > pre, bool last) | |
| Constructor for FAlphaBranch. | |
| ~FAlphaBranch ()=default | |
| FAlphaBranch (const FAlphaBranch &)=delete | |
| FAlphaBranch & | operator= (const FAlphaBranch &)=delete |
| FAlphaBranch (FAlphaBranch &&)=delete | |
| FAlphaBranch & | operator= (FAlphaBranch &&)=delete |
| RealType | getSample () noexcept |
| Retrieves the current noise sample. | |
| void | flush (RealType scale) |
| Flushes the branch with a new scaling factor. | |
| FAlphaBranch * | getPre () const noexcept |
| Retrieves the previous branch in the chain. | |
Class responsible for generating fractional and integer noise components.
The FAlphaBranch class generates noise by applying a fractional integrator filter. It uses a series of filters and upsamplers to process and shape the noise signal.
Definition at line 32 of file falpha_branch.h.
| noise::FAlphaBranch::FAlphaBranch | ( | std::mt19937 & | rngEngine, |
| RealType | ffrac, | ||
| unsigned | fint, | ||
| std::unique_ptr< FAlphaBranch > | pre, | ||
| bool | last | ||
| ) |
Constructor for FAlphaBranch.
| rngEngine | The random number generator engine to use. |
| ffrac | Fractional part of the noise generation (e.g., 0.5 for 1/f noise). |
| fint | Integer part of the noise generation (e.g., 1 for integration). |
| pre | Previous stage of the FAlphaBranch for recursive noise processing. |
| last | Specifies if this is the last branch in the chain of processing. |
Definition at line 30 of file falpha_branch.cpp.
References LOG.
|
default |
|
delete |
|
delete |
| void noise::FAlphaBranch::flush | ( | RealType | scale | ) |
Flushes the branch with a new scaling factor.
| scale | New scale factor to apply to the previous stage. |
Definition at line 168 of file falpha_branch.cpp.
Referenced by noise::MultirateGenerator::reset().
Here is the caller graph for this function:
|
noexcept |
Retrieves the previous branch in the chain.
Definition at line 76 of file falpha_branch.h.
Referenced by noise::MultirateGenerator::reset(), and noise::MultirateGenerator::skipSamples().
Here is the caller graph for this function:
|
noexcept |
Retrieves the current noise sample.
Definition at line 109 of file falpha_branch.cpp.
Referenced by noise::MultirateGenerator::skipSamples().
Here is the caller graph for this function:
|
delete |
|
delete |