A library for simulating nuclear magnetic resonance (NMR) spectra.
Project description
Click the “Launch Binder” link above to see how nmrsim can be used in Jupyter notebooks.
Documentation on Read the Docs
nmrsim
nmrsim is a Python library for the simulation of solution-state nuclear magnetic resonance (NMR) spectra.
The project is inspired by the program WINDNMR by Hans Reich. The goal for Version 1.0 of nmrsim is to provide Python tools for the same types of simulations that WINDNMR did–first- and second-order simulation of spin-1/2 spin systems, plus simulation of some dynamic NMR (DNMR) lineshapes. A longer-term goal is to expand the toolset (e.g. to allow higher-spin nuclei, or new DNMR models).
Features
Class-based abstractions for NMR features (
nmrsim.Multiplet
;nmrsim.SpinSystem
;nmrsim.Spectrum
).Convenience functions for quickly plotting simulation results (
nmrsim.plt
).A lower-level API for more “hands-on” calculation of NMR spectra (e.g. functions for creating and solving spin Hamiltonians in
nmrsim.qm
).
Examples
See the documentation, or the notebooks in the Jupyter folder, for examples of typical use cases.
Installation
pip install nmrsim
See the Developer Page for details on installing a developer version into a virtual environment.
Contribute
See the Contributing to nmrsim page for details on how to contribute to the project. You don’t have to have any particular expertise! If you’ve used (or tried to use) the library and have suggestions, you can make a valuable contribution.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file nmrsim-0.6.0.post1.tar.gz
.
File metadata
- Download URL: nmrsim-0.6.0.post1.tar.gz
- Upload date:
- Size: 501.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e9d583be4788579692dfa1f710ff668b6494e1fa9158386b989e17f56ee22c |
|
MD5 | a19843ec78f7ee3e71277786ab13ae5b |
|
BLAKE2b-256 | cc5d9a4fcd7641c2772a0094f410041956bec668a78079d8e0fa08ab9fc25702 |
File details
Details for the file nmrsim-0.6.0.post1-py3-none-any.whl
.
File metadata
- Download URL: nmrsim-0.6.0.post1-py3-none-any.whl
- Upload date:
- Size: 499.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47f6d8415893d93f1d35915dcde28332dcd419db0bcca43a9c1efdbc9a22a55f |
|
MD5 | d3de894cd67f256654492a9de91bf08c |
|
BLAKE2b-256 | 014a01380555ececaf2d3f1462597ee868eeb1331bee4608fa2196bbc7d28f9e |