Crates.io | ucsf_nmr |
lib.rs | ucsf_nmr |
version | 0.2.0 |
source | src |
created_at | 2020-04-23 20:05:57.216828 |
updated_at | 2020-04-30 09:54:37.560355 |
description | Parser for ther UCSF NMR file format |
homepage | |
repository | https://github.com/hobofan/ucsf-nmr |
max_upload_size | |
id | 233400 |
size | 2,904,524 |
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.
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: