spectrochempy-nmr
NMR plugin for SpectroChemPy.
This package is the home for NMR-specific readers and tools that are useful in
SpectroChemPy but should not live in the core package. It currently contributes
the Bruker TopSpin reader, exposed through scp.nmr.read(...) and registered
under the reader name topspin.
Future NMR readers or processing helpers can be added here without creating a new plugin package for each vendor format.
Installation
pip install spectrochempy[nmr]
For development inside the SpectroChemPy repository:
pip install -e .
pip install -e plugins/spectrochempy-nmr
Usage
import spectrochempy as scp
dataset = scp.nmr.read("path/to/1/fid")
dataset = scp.nmr.read("path/to/2rr")
dataset = scp.nmr.read("path/to/experiment", expno=1, procno=1)
The NMR ppm/frequency unit context is also provided by this plugin:
from spectrochempy_nmr.units import set_nmr_context
set_nmr_context(104.3 * scp.ur.MHz)
The compatibility aliases scp.nmr.read_topspin(...) and
scp.read_topspin(...) are kept for historical usage. TopSpin is a reader, so
it is not exposed as dataset.read_topspin(...) or
dataset.nmr.read_topspin(...).
Development
python -m pytest tests/ -v
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectrochempy_nmr-0.1.8.tar.gz.
File metadata
- Download URL: spectrochempy_nmr-0.1.8.tar.gz
- Upload date:
- Size: 82.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe9b2ba1d7835cdf710590511de6ee276510b492aa34ed40bb0961ee04974ad9
|
|
| MD5 |
90b551f2a41f6cdac256356122feaddf
|
|
| BLAKE2b-256 |
c27f210e8c7718abba6ef24dd6097d63eb833111c22c9122e4d8d1cafb7dba12
|
Provenance
The following attestation bundles were made for spectrochempy_nmr-0.1.8.tar.gz:
Publisher:
publish_plugins.yml on spectrochempy/spectrochempy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spectrochempy_nmr-0.1.8.tar.gz -
Subject digest:
fe9b2ba1d7835cdf710590511de6ee276510b492aa34ed40bb0961ee04974ad9 - Sigstore transparency entry: 2171600055
- Sigstore integration time:
-
Permalink:
spectrochempy/spectrochempy@8aeeb91f3d3b059a261dce7e68824148f48c68a7 -
Branch / Tag:
refs/tags/spectrochempy-nmr-v0.1.8 - Owner: https://github.com/spectrochempy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_plugins.yml@8aeeb91f3d3b059a261dce7e68824148f48c68a7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file spectrochempy_nmr-0.1.8-py3-none-any.whl.
File metadata
- Download URL: spectrochempy_nmr-0.1.8-py3-none-any.whl
- Upload date:
- Size: 74.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aa208cc197534af5ef3c328a3cb1feb280c57d64dc876b14f0f1f96c1fac4fd
|
|
| MD5 |
34aea7a9816b286273a615ac245dd3c8
|
|
| BLAKE2b-256 |
f5df5ba311501b15618ef86d18eebbbab51a6402974206749c31379125e9fb0c
|
Provenance
The following attestation bundles were made for spectrochempy_nmr-0.1.8-py3-none-any.whl:
Publisher:
publish_plugins.yml on spectrochempy/spectrochempy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spectrochempy_nmr-0.1.8-py3-none-any.whl -
Subject digest:
2aa208cc197534af5ef3c328a3cb1feb280c57d64dc876b14f0f1f96c1fac4fd - Sigstore transparency entry: 2171600060
- Sigstore integration time:
-
Permalink:
spectrochempy/spectrochempy@8aeeb91f3d3b059a261dce7e68824148f48c68a7 -
Branch / Tag:
refs/tags/spectrochempy-nmr-v0.1.8 - Owner: https://github.com/spectrochempy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_plugins.yml@8aeeb91f3d3b059a261dce7e68824148f48c68a7 -
Trigger Event:
release
-
Statement type: