The Noise class contains information about a noise model, such as a Gaussian distribution. More...
#include <Noise.hh>
Public Member Functions | |
Noise () | |
Default constructor. | |
double | BiasMean () const |
Get the mean of the Gaussian distribution from which bias values are drawn. | |
double | BiasStdDev () const |
Get the standard deviation of the Gaussian distribution from which bias values are drawn. | |
double | DynamicBiasCorrelationTime () const |
For type "gaussian*", get the correlation time of the noise used to drive a process to model slow variations in a sensor bias. | |
double | DynamicBiasStdDev () const |
For type "gaussian*", get the standard deviation of the noise used to drive a process to model slow variations in a sensor bias. | |
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. | |
double | Mean () const |
Get the mean of the Gaussian distribution from which noise values are drawn. | |
bool | operator!= (const Noise &_noise) const |
Return true the Noise objects do not contain the same values. | |
bool | operator== (const Noise &_noise) const |
Return true if both Noise objects contain the same values. | |
double | Precision () const |
For type "gaussian_quantized", get the precision of output signals. | |
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. | |
void | SetDynamicBiasCorrelationTime (double _time) |
For type "gaussian*", set the correlation time in seconds of the noise used to drive a process to model slow variations in a sensor bias.A typical value, when used, would be on the order of 3600 seconds (1 hour). | |
void | SetDynamicBiasStdDev (double _stddev) |
For type "gaussian*", set the standard deviation of the noise used to drive a process to model slow variations in a sensor bias. | |
void | SetMean (double _mean) |
Set the mean of the Gaussian distribution from which noise values are drawn. | |
void | SetPrecision (double _precision) |
For type "gaussian_quantized", set the precision of output signals. | |
void | SetStdDev (double _stddev) |
Set the standard deviation of the Gaussian distribution from which noise values are drawn. | |
void | SetType (NoiseType _type) |
Set the type of noise. | |
double | StdDev () const |
Get the standard deviation of the Gaussian distribution from which noise values are drawn. | |
sdf::ElementPtr | ToElement () const |
Create and return an SDF element filled with data from this noise. | |
sdf::ElementPtr | ToElement (sdf::Errors &_errors) const |
Create and return an SDF element filled with data from this noise. | |
NoiseType | Type () const |
Get the type of noise. | |
The Noise class contains information about a noise model, such as a Gaussian distribution.
sdf::SDF_VERSION_NAMESPACE::Noise::Noise | ( | ) |
Default constructor.
double sdf::SDF_VERSION_NAMESPACE::Noise::BiasMean | ( | ) | const |
Get the mean of the Gaussian distribution from which bias values are drawn.
This is applicable to "gaussian*" noise types.
double sdf::SDF_VERSION_NAMESPACE::Noise::BiasStdDev | ( | ) | const |
Get the standard deviation of the Gaussian distribution from which bias values are drawn.
This is applicable to "gaussian*" noise types.
double sdf::SDF_VERSION_NAMESPACE::Noise::DynamicBiasCorrelationTime | ( | ) | const |
For type "gaussian*", get the correlation time of the noise used to drive a process to model slow variations in a sensor bias.
double sdf::SDF_VERSION_NAMESPACE::Noise::DynamicBiasStdDev | ( | ) | const |
For type "gaussian*", get the standard deviation of the noise used to drive a process to model slow variations in a sensor bias.
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::Noise::Element | ( | ) | const |
Errors sdf::SDF_VERSION_NAMESPACE::Noise::Load | ( | ElementPtr | _sdf | ) |
double sdf::SDF_VERSION_NAMESPACE::Noise::Mean | ( | ) | const |
Get the mean of the Gaussian distribution from which noise values are drawn.
This is applicable to "gaussian*" noise types.
bool sdf::SDF_VERSION_NAMESPACE::Noise::operator!= | ( | const Noise & | _noise | ) | const |
bool sdf::SDF_VERSION_NAMESPACE::Noise::operator== | ( | const Noise & | _noise | ) | const |
double sdf::SDF_VERSION_NAMESPACE::Noise::Precision | ( | ) | const |
For type "gaussian_quantized", get the precision of output signals.
A value of zero implies infinite precision / no quantization.
void sdf::SDF_VERSION_NAMESPACE::Noise::SetBiasMean | ( | double | _bias | ) |
Set the mean of the Gaussian distribution from which bias values are drawn.
This is applicable to "gaussian*" noise types.
[in] | _bias | The mean of the bias Guassian distribution. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetBiasStdDev | ( | double | _bias | ) |
Set the standard deviation of the Gaussian distribution from which bias values are drawn.
This is applicable to "gaussian*" noise types.
[in] | _bias | The standard deviation of the bias Guassian distribution. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetDynamicBiasCorrelationTime | ( | double | _time | ) |
For type "gaussian*", set the correlation time in seconds of the noise used to drive a process to model slow variations in a sensor bias.A typical value, when used, would be on the order of 3600 seconds (1 hour).
[in] | _time | The dynamic bias correlation time. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetDynamicBiasStdDev | ( | double | _stddev | ) |
For type "gaussian*", set the standard deviation of the noise used to drive a process to model slow variations in a sensor bias.
[in] | _stddev | The dynamic bias standard deviation. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetMean | ( | double | _mean | ) |
Set the mean of the Gaussian distribution from which noise values are drawn.
This is applicable to "gaussian*" noise types.
[in] | _mean | The mean of the Guassian distribution. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetPrecision | ( | double | _precision | ) |
For type "gaussian_quantized", set the precision of output signals.
A value of zero implies infinite precision / no quantization.
[in] | _precision | Precision of output signals. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetStdDev | ( | double | _stddev | ) |
Set the standard deviation of the Gaussian distribution from which noise values are drawn.
This is applicable to "gaussian*" noise types.
[in] | _stddev | The standard deviation of the Guassian distribution. |
void sdf::SDF_VERSION_NAMESPACE::Noise::SetType | ( | NoiseType | _type | ) |
Set the type of noise.
[in] | _type | The noise type. |
double sdf::SDF_VERSION_NAMESPACE::Noise::StdDev | ( | ) | const |
Get the standard deviation of the Gaussian distribution from which noise values are drawn.
This is applicable to "gaussian*" noise types.
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::Noise::ToElement | ( | ) | const |
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::Noise::ToElement | ( | sdf::Errors & | _errors | ) | const |
NoiseType sdf::SDF_VERSION_NAMESPACE::Noise::Type | ( | ) | const |
Get the type of noise.