Skip to content

nmrglue

nmrglue reads, writes and processes NMR data in Python, supporting Varian, Bruker, NMRPipe and Sparky formats together with apodization, transforms, baseline correction and peak analysis routines.

Catalog updated ·

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

Related resources

MassQL

Open Source

MassQL is a mass-spectrometry query language with a reference Python implementation, command-line utility and documented web interfaces.

Open sourcePython

Spectroscopy · Scientific Data

MassSpecGym provides MS/MS data and evaluation infrastructure for molecule generation, molecule retrieval and spectrum simulation.

Open sourcePython

Molecular Generation · Spectroscopy · Scientific Data

MetaboT

Agent

MetaboT is an LLM multi-agent framework that turns metabolomics questions into SPARQL queries over knowledge graphs.

Open sourcePython

Spectroscopy · Scientific Data

nf-core/metaboigniter is a Nextflow pipeline for mzML metabolomics processing, feature detection, alignment and candidate annotation.

Open source

Spectroscopy · Scientific Data

OpenMS is a mass-spectrometry analysis toolkit with a C++ library, TOPP command-line tools and pyOpenMS Python bindings.

Open sourcePythonC++

Spectroscopy · Scientific Data

SpectraQL

Open Source

SpectraQL adds MassQL query support to R for mass-spectrometry data stored in Bioconductor Spectra objects.

Open source

Spectroscopy · Scientific Data

Related guides

Overview

MCP vs Skills vs Agents vs APIs: What's the Difference?

Understand how APIs, MCP servers, Skills, and agents divide interface, procedural guidance, execution, and planning responsibilities in chemistry workflows—and how to choose or combine them without confusing access with scientific validity.