Overview
nmrglue is a module for working with NMR data in Python. Combined with NumPy, SciPy and Matplotlib it provides an environment for processing, analysing and inspecting NMR data, with files represented as dictionaries of spectral parameters plus NumPy arrays.
The README lists reading, writing and conversion between common NMR formats including Varian, Bruker, NMRPipe and Sparky, processing functions such as apodization, spectral shifting, Fourier and other transformations, baseline smoothing and flattening, and linear prediction, and analysis routines for peak picking, multidimensional lineshape fitting and peak integration. Phase, baseline and unit handling remain the user's responsibility, and processed spectra should be checked against the raw acquisition parameters.
LICENSE states a BSD 3-Clause licence. The Python package index release is 0.12, and the project documentation site documents the API and examples.
Key Features
- Readers, writers and converters for Varian, Bruker, NMRPipe and Sparky NMR formats.
- Processing functions for apodization, transforms, baseline correction and linear prediction, plus peak picking, lineshape fitting and integration.
Use Cases
- Process and inspect raw 1D or multidimensional NMR data in a reproducible Python script.
How to Use
Install the package from the Python package index, read a dataset in a supported format, and apply processing steps while keeping the acquisition parameters. Confirm phasing, baselines and referencing against the raw data before interpreting peaks.
See the official documentation for the API and examples: https://nmrglue.readthedocs.io/en/latest/
Sources and verification
This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.
Read the editorial and verification policy