Skip to main content

nmrglue-ng

Test status on master Self-contained test coverage 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. The distribution is nmrglue-ng; the Python import remains nmrglue.

Quick start

Install in a Python 3.10+ environment:

python -m pip install nmrglue-ng

Use one distribution per environment: historical nmrglue and nmrglue-ng install the same Python package. The installation guide covers uv, pip and Conda.

Download the sample FID and save it beside your script:

import nmrglue as ng

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

This returns a header dictionary and NumPy array. The first-spectrum notebook continues through processing and plotting.

What nmrglue-ng adds

  • Read and convert: additional JCAMP-DX decoding; corrected axes, dimension order, sample packing and low-memory access across supported Bruker, Agilent/Varian, JEOL, RNMRTK and other format paths.

  • Process: complete complex results for real-input FFTs, phase and low-level frequency shifts; corrected quadrature, window/filter and prediction paths.

  • Analyse: corrected bounded fitting and covariance, integration uncertainties, baseline edges, lineshape estimates and peak segmentation. Covariance remains unavailable at fitted parameter bounds.

  • Integrate with other tools: optional nmrglue.interop profiles expose samples, physical axes, components, metadata and normalization provenance. Check the profile table for their supported scope.

Existing reader interfaces are retained where practical, but corrections can change numerical results. The migration guide groups the results to recheck by workflow. Coverage varies by format and operation; selected checks against datasets and external NMR software do not establish general vendor parity.

Find the right documentation

  • Guides: worked examples for reading, processing, conversion and analysis.

  • API reference: reader, processing, analysis and interop interfaces.

  • Release notes: published changes. The development changelog also contains unreleased changes and release preparations.

  • Contribute: issue reports, development setup, tests, documentation and pull requests.

The global coverage badge measures self-contained tests on Ubuntu/Python 3.13, including branches. External-corpus and NMRPipe tests, and tests skipped for unavailable optional dependencies, are outside that indicator’s scope.

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.6.2

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.6.2
File Size Uploaded Provenance Actions
nmrglue_ng-1.6.2.tar.gz 74.7 MB With provenance Details for nmrglue_ng-1.6.2.tar.gz

Built distribution (wheel)

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

Total release size: 75.0 MB

Release files / nmrglue_ng-1.6.2.tar.gz

Download URL nmrglue_ng-1.6.2.tar.gz
Size 74.7 MB
Tags Source
SHA-256 checksum
How to use checksums
51a4bab0b1d2d6dbe87399efb037697df89461a60e2b93beae7efb2813d801a9
BLAKE2b-256 checksum
How to use checksums
f7fc134d4383eaa09974121c265384e4b0574ba7289e181d0e4a03c286fea45e
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 29, 2026.

Transparency log

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

Download URL nmrglue_ng-1.6.2-py3-none-any.whl
Size 307.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d9955eaf2992ac2a6fe1a16d11432a9dd5472e5beca7315a1516a63fb894f3b
BLAKE2b-256 checksum
How to use checksums
57fb2049979d7b737871e8e0543a1685c64c7ce3ea8fb9697d256ad9247f1ffc
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 29, 2026.

Transparency log

Security for nmrglue-ng 1.6.2

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.6.2.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 29, 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