Expand description
$\frac{x - o}{s}$ codec implementation for the numcodecs API.
Structs§
- Fixed
Offset Scale Codec - Fixed offset-scale codec which calculates
$c = \frac{x - o}{s}$on encoding and$d = (c \cdot s) + o$on decoding.
Enums§
- Fixed
Offset Scale Codec Error - Errors that may occur when applying the
FixedOffsetScaleCodec.
Functions§
- scale
- Compute
$\frac{x - o}{s}$over the elements of the inputdataarray. - unscale
- Compute
$(x \cdot s) + o$over the elements of the inputdataarray. - unscale_
into - Compute
$(x \cdot s) + o$over the elements of the inputdataarray and write them into theoutput array.