UniformNoise¶
This class allows injecting uniform noise.
-
class
olympus.noises.
UniformNoise
(*args, **kwargs)[source] Gaussian noise.
- Parameters
scale (float) – Half-range \(r_{1/2}\) of the uniform distribution. A random sample will be drawn from the half-open interval \([\mu - r_{1/2}, \mu + r_{1/2})\), where \(\mu\) the argument
value
. Default is 1.
Methods
__call__
(value)Add noise to the provided values.