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.4.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.4.0
File Size Uploaded Provenance Actions
nmrglue_ng-1.4.0.tar.gz 74.6 MB With provenance Details for nmrglue_ng-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 74.9 MB

Release files / nmrglue_ng-1.4.0.tar.gz

Download URL nmrglue_ng-1.4.0.tar.gz
Size 74.6 MB
Tags Source
SHA-256 checksum
How to use checksums
a949071a3af8f8d8a12b95e20a049f38d759363ac5d18514707e4086c7a94fe5
BLAKE2b-256 checksum
How to use checksums
4aa8890277b663d3b8ec372657dd1b3ec434f8999189cbaaf91d9afa4b26b99f
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.4.0-py3-none-any.whl

Download URL nmrglue_ng-1.4.0-py3-none-any.whl
Size 298.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ce55da779ed6d171b19d5f3cf13d821421ce9af3afb442681c964d01f9817ac
BLAKE2b-256 checksum
How to use checksums
f8376ed265181d45f2ead6d59512a1a71191b2b2124b20870960ce07bee14ab2
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.4.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.4.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