#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

#218 in Compression

Download history 3/week @ 2024-09-18 168/week @ 2024-09-25 27/week @ 2024-10-02 3/week @ 2024-10-09

176 downloads per month

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

~130KB