Crate numcodecs_zfp_classic

Source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

ZFP (classic) codec implementation for the numcodecs API.

This implementation uses ZFP’s default ZFP_ROUNDING_MODE=ZFP_ROUND_NEVER rounding mode, which is known to increase bias and correlation in ZFP’s errors (see https://zfp.readthedocs.io/en/release1.0.1/faq.html#zfp-rounding).

Please see the numcodecs-zfp codec for an implementation that uses an improved version of ZFP.

Structs§

ZfpClassicCodec
Codec providing compression using ZFP (classic)
ZfpHeaderError
Opaque error for when encoding or decoding the header fails

Enums§

ZfpClassicCodecError
Errors that may occur when applying the ZfpClassicCodec.
ZfpCompressionMode
ZFP compression mode
ZfpDType
Dtypes that Zfp can compress and decompress

Functions§

compress
Compress the data array using ZFP with the provided mode.
decompress
Decompress the encoded data into an array using ZFP.
decompress_into
Decompress the encoded data into a decoded array using ZFP.