Skip to main content

nmrglue-ng

Test status on master PyPI version Conda version on spectrocat Stable documentation build status BSD 3-Clause License

Read, write, convert, process, and analyse NMR data in Python. nmrglue-ng is an independent continuation of nmrglue, originally developed by Jonathan J. Helmus and contributors.

What nmrglue-ng adds

nmrglue-ng maintains the original interfaces and also corrects reader, processing and analysis defects that can affect numerical results. It is more than a packaging update. Representative changes include:

  • Corrected spectral axes and dimension order for JCAMP-DX and JEOL data.

  • Corrected Bruker low-memory trace offsets and preservation of real float64 data.

  • Corrected integration uncertainties, edge windows and peak segmentation.

  • Corrected NMRPipe-compatible transforms, including Hilbert mirror mode, modulation phase and quadrature packing.

  • Additional JCAMP-DX decoding and explicit interop profiles for exchanging samples, physical axes and component conventions with other libraries.

Regression tests cover these changes, with selected workflows additionally compared against external datasets and NMR software. Coverage varies by format and operation. The migration guide explains which results to recheck; the release notes distinguish released fixes from development changes. Existing scripts may produce different, corrected values even when their calls stay the same.

Quick start

Install the nmrglue-ng distribution in a Python 3.10+ environment:

python -m pip install nmrglue-ng

The Python import remains nmrglue. For example, read an NMRPipe FID:

Download the sample FID and save it beside your script.

import nmrglue as ng

dic, data = ng.pipe.read("synthetic_1d_time.fid")

The reader returns a dictionary of NMRPipe header values and a NumPy array. Use separate environments for the historical nmrglue distribution and nmrglue-ng, since both install the same Python package. The installation guide covers uv, pip, and Conda.

For new integrations, nmrglue.interop provides structured results with samples, axes, metadata, and diagnostics. Check the supported profiles for format coverage and limitations.

Documentation

  • Getting started walks through reading, processing, and plotting a first spectrum in a downloadable notebook.

  • Tutorials cover reading, processing, conversion, and analysis with worked examples.

  • Coming from nmrglue? explains how to set up a separate environment and which changes can affect existing workflows.

  • API reference covers the format readers, processing, analysis, and interop interfaces.

  • Release notes describe changes by release. See the development documentation for unreleased features.

Contributing

Use the Contribute section for issue reports, development setup, tests, documentation builds, and pull requests.

Citation and license

Please cite the original nmrglue paper where appropriate:

Jonathan J. Helmus and Christopher P. Jaroniec, Nmrglue: an open source Python package for the analysis of multidimensional NMR data, Journal of Biomolecular NMR 55, 355–367 (2013). doi:10.1007/s10858-013-9718-x.

nmrglue-ng retains the original Git history and is distributed under the BSD 3-Clause License.

Metadata

Release files for nmrglue-ng 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nmrglue-ng 1.5.0
File Size Uploaded Provenance Actions
nmrglue_ng-1.5.0.tar.gz 74.6 MB With provenance Details for nmrglue_ng-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nmrglue-ng 1.5.0
File Interpreter ABI Platform Actions
nmrglue_ng-1.5.0-py3-none-any.whl Python 3 none any Details for nmrglue_ng-1.5.0-py3-none-any.whl

Total release size: 74.9 MB

Release files / nmrglue_ng-1.5.0.tar.gz

Download URL nmrglue_ng-1.5.0.tar.gz
Size 74.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c32af7bc67ca549dd73d45593a80af51ebb0c4b8fd23393bc8efa077c49d5f7c
BLAKE2b-256 checksum
How to use checksums
c46e4addeaf0235cdab8078756f0cbb6b5faab19795c6adb981cf8b1edbedfb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / nmrglue_ng-1.5.0-py3-none-any.whl

Download URL nmrglue_ng-1.5.0-py3-none-any.whl
Size 301.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17bfecdb164404d971caa2066253a62c9f98bd408d6e54973618efa36960a42a
BLAKE2b-256 checksum
How to use checksums
8a1cbe54b8e3589183e23849c9b21f786b86c364be55da6dc0e324b62a7469ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for nmrglue-ng 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nmrglue_ng-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page