[][src]Crate numpress

Numpress utility.

A pure rust implementation of ms-numpress, a fast, minimally lossy compression algorithm for mass spectrometry data.

Additional Information

The API makes extensive use of unsafe Rust features, and therefore cannot guarantee low-level memory safety. Use at your own risk.

Modules

low_level

Structs

Error

Custom error for Numpress compression.

Enums

ErrorKind

Type of error encountered during compression or decompression.

Constants

DEFAULT_SCALING

Default scaling factor for compression.

Functions

numpress_compress

High-level compressor for Numpress.

numpress_decompress

High-level decompressor for Numpress.

optimal_scaling

Calculate the optimal, most-compressed scaling factor for compression.

Type Definitions

Result

Specialized result for Numpress operations.