#fits #rice

ricecomp

Rice Compression Algorithm

4 releases

0.2.0 Sep 29, 2024
0.1.2 Mar 9, 2022
0.1.1 Mar 5, 2022
0.1.0 Mar 5, 2022

#223 in Compression

MIT license

91KB
2K SLoC

Rust 1K SLoC // 0.2% comments C 1K SLoC // 0.4% comments

Crates.io Actions Status Documentation codecov Dependency status

Algorithm description section 6.1 https://fits.gsfc.nasa.gov/registry/tilecompression/tilecompression2.3.pdf

Comparison compress methods for FITS: https://arxiv.org/pdf/0903.2140.pdf

Transpiled port of ricecomp.c in CFITSIO to Rust.

The C version was originally written by Richard White at STScI and made available for use in CFITSIO in July 1999.

Dependencies

~125KB