SpinPlots: Python NMR plots made easy
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spinplots-0.2.2.tar.gz | 29.8 kB | Without provenance | Details for spinplots-0.2.2.tar.gz |
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
|
Security for spinplots 0.2.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.