Expand description
Linear Quantization codec implementation for the numcodecs
API.
Structs§
- Linear
Quantize Codec - Lossy codec to reduce the precision of floating point data.
- Linear
Quantize Header Error - Opaque error for when encoding or decoding the header fails
Enums§
- Linear
Quantize Bins - Number of bins for quantization, written in base-2 scientific notation.
- Linear
Quantize Codec Error - Errors that may occur when applying the
LinearQuantizeCodec
. - Linear
QuantizeD Type - Data types which the
LinearQuantizeCodec
can quantize
Traits§
- Unsigned
- Unsigned binary types.
Functions§
- quantize
- Linear-quantize the elements in the
data
array using thequantize
closure. - reconstruct
- Reconstruct the linear-quantized
encoded
array using thefloatify
closure. - reconstruct_
into - Reconstruct the linear-quantized
encoded
array using thefloatify
closure into thedecoded
array.