22 #include <sdf/sdf_config.h>
27 inline namespace SDF_VERSION_NAMESPACE {
43 GAUSSIAN_QUANTIZED = 2,
189 private: NoisePrivate *dataPtr;
The Noise class contains information about a noise model, such as a Gaussian distribution.
Definition: Noise.hh:50
void SetPrecision(double _precision)
For type "gaussian_quantized", set the precision of output signals.
double BiasStdDev() const
Get the standard deviation of the Gaussian distribution from which bias values are drawn.
void SetDynamicBiasCorrelationTime(double _time)
For type "gaussian*", set the correlation time in seconds of the noise used to drive a process to mod...
double DynamicBiasStdDev() const
For type "gaussian*", get the standard deviation of the noise used to drive a process to model slow v...
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
Errors Load(ElementPtr _sdf)
Load the noise based on a element pointer.
bool operator!=(const Noise &_noise) const
Return true the Noise objects do not contain the same values.
void SetType(NoiseType _type)
Set the type of noise.
double DynamicBiasCorrelationTime() const
For type "gaussian*", get the correlation time of the noise used to drive a process to model slow var...
bool operator==(const Noise &_noise) const
Return true if both Noise objects contain the same values.
double StdDev() const
Get the standard deviation of the Gaussian distribution from which noise values are drawn.
Noise & operator=(Noise &&_noise)
Move assignment operator.
double Mean() const
Get the mean of the Gaussian distribution from which noise values are drawn.
Noise(const Noise &_noise)
Copy constructor.
void SetBiasMean(double _bias)
Set the mean of the Gaussian distribution from which bias values are drawn.
void SetBiasStdDev(double _bias)
Set the standard deviation of the Gaussian distribution from which bias values are drawn.
NoiseType Type() const
Get the type of noise.
double Precision() const
For type "gaussian_quantized", get the precision of output signals.
Noise()
Default constructor.
Noise(Noise &&_noise) noexcept
Move constructor.
Noise & operator=(const Noise &_noise)
Assignment operator.
double BiasMean() const
Get the mean of the Gaussian distribution from which bias values are drawn.
void SetStdDev(double _stddev)
Set the standard deviation of the Gaussian distribution from which noise values are drawn.
void SetDynamicBiasStdDev(double _stddev)
For type "gaussian*", set the standard deviation of the noise used to drive a process to model slow v...
void SetMean(double _mean)
Set the mean of the Gaussian distribution from which noise values are drawn.
NoiseType
The set of noise types.
Definition: Noise.hh:34
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:33
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48