This project provides a parser for the UCSF NMR file format written in Rust.
The implemenation follows the description of the format outlined at https://www.cgl.ucsf.edu/home/sparky/manual/files.html#UCSFFormat.
Via cargo-edit:
cargo add ucsf_nmr
The example under ./examples/tile_plots.rs shows how to load a spectrum, iterate over all the data points in it and draw a simple greyscale image from it with the help of plotters:
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.