Crate numcodecs_uniform_noise

Source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Uniform noise codec implementation for the numcodecs API.

Structs§

UniformNoiseCodec
Codec that adds seeded $\text{U}(-0.5 \cdot scale, 0.5 \cdot scale)$ uniform noise of the given scale during encoding and passes through the input unchanged during decoding.

Enums§

UniformNoiseCodecError
Errors that may occur when applying the UniformNoiseCodec.

Traits§

FloatExt
Floating point types

Functions§

add_uniform_noise
Adds $\text{U}(-0.5 \cdot scale, 0.5 \cdot scale)$ uniform random noise to the input data.