Skip to main content

SpinPlots: Python NMR plots made easy

DOI

SpinPlots is a Python package designed to streamline the process of loading and plotting NMR data. Built on top of NMRglue, SpinPlots simplifies the plotting of NMR spectra. While NMRglue is a powerful tool for reading, processing, and analyzing NMR data, plotting with it can be cumbersome and code-intensive. SpinPlots addresses this by offering an intuitive interface for generating publication-ready plots with minimal effort.

Quick Start

from spinplots import read_nmr

# Plot a 1D spectrum
read_nmr("path/to/bruker/pdata/1").plot()

# Plot a 2D spectrum with projections
read_nmr("path/to/2d/pdata/1").plot(contour_start=1e5)

Features 🤌

  • One line plotting: Generate 1D and 2D NMR plots with a single function call
  • Multiple formats: Support for Bruker and DMFit data
  • Automatic labeling: Axes labeled with nuclei and units
  • Overlays and stacking: Compare multiple spectra on one plot
  • Grid layouts: Plot multiple spectra in customizable grid arrangements
  • 2D projections: Automatic F1/F2 projections for 2D spectra
  • Publication-ready: Customizable styling with sensible defaults

Documentation 📖

Complete documentation, including installation instructions and usage guides, can be found here.

Contributing

Open to suggestions and contributions! Feel free to open an issue or pull request.

Metadata

Release files for spinplots 0.2.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 spinplots 0.2.2
File Size Uploaded
spinplots-0.2.2.tar.gz 29.8 kB Details

Release files / spinplots-0.2.2.tar.gz

Download URL spinplots-0.2.2.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2f74c8875f2bd594f8b08de9862e5788c076ef75369b03f4535fe43ba210e172
BLAKE2b-256 checksum
How to use checksums
bc7cdac69b060c3610a5b87cedc58bab925430275a3801c94b3a61743129bbe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

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