ucsf_nmr

Crates.ioucsf_nmr
lib.rsucsf_nmr
version0.2.0
sourcesrc
created_at2020-04-23 20:05:57.216828
updated_at2020-04-30 09:54:37.560355
descriptionParser for ther UCSF NMR file format
homepage
repositoryhttps://github.com/hobofan/ucsf-nmr
max_upload_size
id233400
size2,904,524
Maximilian Goisser (hobofan)

documentation

README

UCSF NMR file format parser

Crates.io version docs.rs docs

This project provides a parser for the UCSF NMR file format written in Rust. It explicitly supports 2D/3D/4D measurements, but should in theory support any number of dimensions.

The implemenation follows the description of the format outlined at https://www.cgl.ucsf.edu/home/sparky/manual/files.html#UCSFFormat.

Installation

Via cargo-edit:

cargo add ucsf_nmr

Usage examples

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:

Image of NMR spectrum

License

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.
Commit count: 15

cargo fmt