A python toolbox for simulating fast real-time solid-state NMR spectra.
Project description
The Mrsimulator project
Deployment | |
Build Status | |
License | |
Metrics | |
Citation |
mrsimulator
is an open-source python package for fast computation/analysis of solid-state
magnetic resonance (NMR) spectra of both crystalline and amorphous materials. The core
of the mrsimulator
library is written in C, wrapped, and made available in python.
:warning: The package is currently under development. We advice using with caution. Bug report are greatly appreciated.
Why use mrsimulator?
- It is open-source and free.
- It is a fast and versatile solid-state NMR simulator of one-dimensional static, MAS, and VAS spectra of nuclei experiencing chemical shift (nuclear shielding) and quadrupolar coupling interactions.
- Future release will include simulations of weakly coupled nuclei experiencing J and dipolar couplings, and multi-dimensional NMR spectra.
- It is fully documented with a stable and simple API and is easily incorporated into your python scripts and web apps.
- It is compatible with modern python packages, such as scikit-learn, Keras, etc.
- Packages using mrsimulator -
View our example gallery
Features
The mrsimulator
package currently offers the following
-
Fast simulation of one-dimensional solid-state NMR spectra. See our benchmark results.
-
Simulation of uncoupled spin system
- for spin I=1/2, and quadrupole I>1/2 nuclei,
- at arbitrary macroscopic magnetic flux density,
- at arbitrary rotor angles, and
- at arbitrary spinning frequency.
-
The library includes the following NMR methods,
- 1D Bloch decay spectrum,
- 1D Bloch decay central transition spectrum,
- 2D Multi-Quantum Variable Angle Spinning (MQ-VAS),
- 2D Satellite-transition Variable Angle Spinning (MQ-VAS), and
- 2D Dynamic Angle Spinning (DAS),
- 2D isotropic/anisotropic sideband correlation spectrum (e.g. PASS and MAT), and
- 2D Magic Angle Flipping (MAF).
-
Models for tensor parameter distribution in amorphous materials.
- Czjzek
- Extended Czjzek
Goals for the near future
Our current objectives for the future are the following
- Include spectral simulation of coupled spin systems.
For more information, refer to the documentation.
Installation
$ pip install mrsimulator
Please read our installation document for details.
Check your build
If the installation is successful, you should be able to run the following test file in your terminal.
$ python test_file.py
This should produce the following figure.
Reporting Bugs
The preferred location for submitting feature requests and bug reports is the Github issue tracker. Reports are also welcomed on the mrsimulator mailing list or by directly contacting Deepansh Srivastava.
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 Distributions
Hashes for mrsimulator-0.5.1-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3de62113c1ec82038dd3d9e8754890bf15ad1cca75d6f37d17c251198c1cc7b |
|
MD5 | 167626d0a8bf120321a9af9ba01543a8 |
|
BLAKE2b-256 | a05d859c968eb64816f86c8cdb3ce6031affd1abd106cb0d0640b8d310d5b8da |
Hashes for mrsimulator-0.5.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 414e1fc60b6714494be97073b1b7e88a9a39c748fbe5c97f5a82b3f83cfc7b80 |
|
MD5 | 8670e03d789d25914ac390c938cc11f5 |
|
BLAKE2b-256 | 5f96e05190217eddab5c8ac2c79e4d74702a02992a911fb3003393e5a8b1b840 |
Hashes for mrsimulator-0.5.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3506a52aab3f173e0c5b0ef0838a33447ab1d62971a5d33f61315582db143dd1 |
|
MD5 | 75aab8cb31b811ef37b4980cef666e4e |
|
BLAKE2b-256 | 6bbb89974e4f49c4facb3dfa94998d54360dc97a17417ba1b7b8c05740dbcd86 |
Hashes for mrsimulator-0.5.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af810ad8dd4b281adcfc931ca6dace4db499a200bd9b44ee63b81b4df9d49dfd |
|
MD5 | f4b08479ce249f2b8e767c0e1db7dbc4 |
|
BLAKE2b-256 | fe4838e7ab38ff0649fe0936266e745bfedf3fe0d37d68c850703909d0ba3752 |
Hashes for mrsimulator-0.5.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a84116872d0735c48b1221f1e209731193da565b8d23959bb9a0c792ce3ab9 |
|
MD5 | e6a84e921894a01a8179260ec9635ac2 |
|
BLAKE2b-256 | dd8c41c34adb223d510818d5d2b5ad40bbdd215127f6648669746c6cc26b08dd |
Hashes for mrsimulator-0.5.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9dbc9734dcc83869bb7d21e657a43c00d19ccd6e27eec689a997e030aaa5b6e |
|
MD5 | 454f526a588ac020f182b3eb4362ed2b |
|
BLAKE2b-256 | 8e6a448a38e7bcf6f3395dbc5bb04ed01079c88c7ee29392a1c4bac0085c544e |
Hashes for mrsimulator-0.5.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514bf291b7bcbe441be0f10bd27170cd5b886a549939cd36d5416e5d26580e86 |
|
MD5 | daeaebd093dd48dbd0afdd1278d49940 |
|
BLAKE2b-256 | ad464b231b55247e720d969b3536be46c193d58e54dd10e898e3a621e1b51633 |
Hashes for mrsimulator-0.5.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cdacf2078bee552c111a46f261a77d4e6c0a92b865d93be391ba05139a1fc44 |
|
MD5 | 976ef118d037d530ecb67f03ce56b00f |
|
BLAKE2b-256 | 642f4d926c0ea467ea46d75c50e26f2baee0253f524d931c898e703abd96092f |
Hashes for mrsimulator-0.5.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9df6f650c376a10c762f847e688a6998aa5d275b20bd47de2409a777f2488c2 |
|
MD5 | 56460937222801f91a1b7c3eeac38c8b |
|
BLAKE2b-256 | 5b5453487783aecf047521af98ac5097f0b1910c09fc153a72eb0de7c2c838c2 |
Hashes for mrsimulator-0.5.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1d29c89d4e08d676c1f246c42497fd0b1387b1dccf7a4ec787b2fb6dc32975 |
|
MD5 | 634c0d8ed93bb6b8c7ba70c369dd667f |
|
BLAKE2b-256 | e992869bdc98a00849440b92be05512c68e92da5173ad1c616bd0ec809e50866 |
Hashes for mrsimulator-0.5.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50cb0d9e5ed769e3013373e734da34ae349d44a684ed261cdabe4f79da69daae |
|
MD5 | 293ca3d6dc8c3bc39efd6d79a6f48f38 |
|
BLAKE2b-256 | a1fc6eb0b7e27708ee8e896179a01f17a5ce66ec67f115132dd3c24e340c9a46 |