Skip to main content
https://mybinder.org/badge_logo.svg

Click the “Launch Binder” link above to see how nmrsim can be used in Jupyter notebooks.

Documentation on Read the Docs

nmrsim

https://img.shields.io/pypi/v/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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nmrsim-0.7.1.tar.gz (502.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nmrsim-0.7.1-py3-none-any.whl (499.5 kB view details)

Uploaded Python 3

File details

Details for the file nmrsim-0.7.1.tar.gz.

File metadata

  • Download URL: nmrsim-0.7.1.tar.gz
  • Upload date:
  • Size: 502.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nmrsim-0.7.1.tar.gz
Algorithm Hash digest
SHA256 46ba8c91d29c17638d2ba6ca331e46f5ea26bb6d869db2cfbd2fca782ac9dc14
MD5 71af1bad7550507cdc435a8091de2c25
BLAKE2b-256 03db3ca7b3a4425e74ff0ebe168ad295c37ce2820eabf8404d0617bd89847f07

See more details on using hashes here.

File details

Details for the file nmrsim-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: nmrsim-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 499.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nmrsim-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83ad2f66698e26915ce615aff4fb62a292dc3adc590dc4c49888fc510084ab63
MD5 67914c299b5a024e0a3ed9399ea8e5f4
BLAKE2b-256 3ccd79b36d1af431dca15d947c1662029e1b3bcfceeb1cae5455d881221e825b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page