A mixin measurer which adds an absolute amount of Gaussian noise to the measurement.
A random value is sampled from a Gaussian distribution for each measurement x.
This value is then multiplied with Key.noiseMagnitude and added to the measurement.
The default value for the noise magnitude is 0.0 - it has to be set manually
for tests requiring artificial noise.
The resulting value is clamped into the range x - magnitude, x + magnitude.
$noise
Linear Supertypes
Noise, Measurer, Serializable, Serializable, AnyRef, Any
A mixin measurer which adds an absolute amount of Gaussian noise to the measurement.
A random value is sampled from a Gaussian distribution for each measurement
x
. This value is then multiplied withKey.noiseMagnitude
and added to the measurement. The default value for the noise magnitude is0.0
- it has to be set manually for tests requiring artificial noise. The resulting value is clamped into the rangex - magnitude, x + magnitude
.$noise