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.
- Include simulations of weakly coupled nuclei experiencing J and dipolar couplings.
- 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 coupled and 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
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 by directly contacting Deepansh Srivastava.
Discussions are welcome on Github discussion
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.6.0rc5-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eeb01b56e83d7c47b0614ceb0451eb2f36f39cfdeca33ffd896dc0f504323c8 |
|
MD5 | b9ab22155c185d619ac0cdf347db706c |
|
BLAKE2b-256 | 916996858aca6d81bec5503b05e05c68fcd7437bfc13db75587c90ca35433943 |
Hashes for mrsimulator-0.6.0rc5-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a38240cc5f3faef776dc0fd2e68286ab52134af4cf6dbb7862c8425ad8ab598 |
|
MD5 | 9343871b49c91a2846b42e31ea425533 |
|
BLAKE2b-256 | 8e8139866c4e02e7acdefd6f55eec7fd02b443ab520dd1ffc7127b75971a492f |
Hashes for mrsimulator-0.6.0rc5-cp39-cp39-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847e83f6ef8e9c47d965f181ddb1ac414901b9a7dcbdc1b570335660c198765f |
|
MD5 | 9a71bc86337cb9948128abf49c1a5175 |
|
BLAKE2b-256 | 14c4d87f09422db3674fb84e8e34828606869721ceab46ee9d5394482a6785fd |
Hashes for mrsimulator-0.6.0rc5-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45b2c84472832d1ea79e61e68fe76b5f635a1efb0e44b4b8aa4146687f621a4a |
|
MD5 | f9561518b2f7deccd578b4a1288f6171 |
|
BLAKE2b-256 | 7a8b2110fc93ae76897242bf81195620f9d31f21d70e991df4fd506b181e48b6 |
Hashes for mrsimulator-0.6.0rc5-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 614f89492bbf5f090ec0b24d8a95292ce38eb90aef9d1e8f654c5862e29744b5 |
|
MD5 | ff54ed7c58c57ab22de589da36818bb3 |
|
BLAKE2b-256 | 01f7edffd2b103bd303e10ba0a71b07687df1131c4801a56337943018e259c8c |
Hashes for mrsimulator-0.6.0rc5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57be7aa4097d5abc55ad61a03bbd885def27c0d639d048938f4f2da32a788faf |
|
MD5 | 9938f75527fb346e3abc25f6355f1b5e |
|
BLAKE2b-256 | 6335c464558ab5f62ce11662f8028b55d32c0e0c3bb7907a747101836fec33a3 |
Hashes for mrsimulator-0.6.0rc5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88be4476e37000a01590e2388ebe6a0d69251a84e3dd8c4479628d0f0fd4c5c |
|
MD5 | 03167232f4cb676af2a03314347ea837 |
|
BLAKE2b-256 | e19bb7f57d3a4e649edf1991c9b5d3f0233e905841d1e552ddbb16c3e906accd |
Hashes for mrsimulator-0.6.0rc5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b4e163fd14046f0da1aac25b23c6942254c5c95d4cd3f6a48cf0b21ad6ae67f |
|
MD5 | 68d90d9873edb8bdfbb92ffeb691621d |
|
BLAKE2b-256 | 34dd2bef77e399fdb63a38f6ae40210bc2d8655f9a05b0bfada5fc7937e6512a |
Hashes for mrsimulator-0.6.0rc5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cff345adafe173d05db0cb89ebc2d9e3e34d5a92f2074dea6f0670d1a242cf1 |
|
MD5 | 9afd836071c2071af81435724fcd1a1a |
|
BLAKE2b-256 | ef8d7cd909edf5ab001c250746b6ec6249a84a7a59dca0398aac6bef1b21c26d |
Hashes for mrsimulator-0.6.0rc5-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 685a8247ff48918a8f4ea98648a7bfd22862278e77fdfce3a081342017b6ef91 |
|
MD5 | 41ddc746748a002b466dd969d6e04fd8 |
|
BLAKE2b-256 | 0c01ae17f887852cf3a46c2e415f2b3c159ccdbd521ce070732a244c774e5111 |
Hashes for mrsimulator-0.6.0rc5-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f81521424a0e25ff2f0e8db33f4aa31f224869d2bf41c250d51d4d480d4684b |
|
MD5 | ad6b5dd399cb12ef06fe6f7e184e3d40 |
|
BLAKE2b-256 | 12d14d53d1419849c110368146b5ad44070c4562bd89b1ba2c23939ccf85e43b |
Hashes for mrsimulator-0.6.0rc5-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c66cc91e9341d5af0bbe245a9d331c7b0c87659babdd5a85cfb029d88697e56 |
|
MD5 | 6cac9397a7a046161474894a56a646f5 |
|
BLAKE2b-256 | a3f2a91dd43589e17f10adf82c10e8d98fdfdf3fb35b0767c60fe8b42af2c806 |
Hashes for mrsimulator-0.6.0rc5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31d97f5f3c009384a36d43e80f31d57459691eb921c5724bb88b9df71393c0c |
|
MD5 | 4fad28caff109e822c96548430201abd |
|
BLAKE2b-256 | e32060c09494f24772d62fcb310a0743df37508e6c8ddb0dc58121f9cb660f70 |
Hashes for mrsimulator-0.6.0rc5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6d79b57ca6c10de0644614f2ae5aef5426d240c3de5c92972d8fcc5756d8a7 |
|
MD5 | 8b7c3ae6c1017fa2646b38a7359e4a81 |
|
BLAKE2b-256 | 56094f3ed270a28251032adc6ee15f59c9e93627c5e8c6bff56e644fd188d34b |
Hashes for mrsimulator-0.6.0rc5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72676da0ee9fc5ceeab7822697bbb9080ae6c10f2bd2aae8b66688bdad0596d5 |
|
MD5 | 7084f3f20155c2d7362b531cda742f63 |
|
BLAKE2b-256 | 619cfcc502d37514f37bfa2af8439259f5a979728763471109ea030104d672e0 |
Hashes for mrsimulator-0.6.0rc5-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe2aee04aa65dedcf9bdbd987b1abc7f6857c2e6cc8e23f9d2b6d4459884b969 |
|
MD5 | 3e28c2d037e015138aecb282dbbc982a |
|
BLAKE2b-256 | 9c9484209fc4d637b8db070c8dee7d79613c0eda3924b3495e786f4109ca35f9 |
Hashes for mrsimulator-0.6.0rc5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b421970d1bd70930ae9ebe7255394c17e39e80e1608c45725f1bcb8623244b |
|
MD5 | 43658d5cc0b0985e0bff6b2238d94644 |
|
BLAKE2b-256 | e0d8c846af7481c9c6b9b352129f71cf9667b3cfdfc12ef53ecedb4a8ba7ab8c |
Hashes for mrsimulator-0.6.0rc5-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7fa81089e6f3187fb50ee6714ad427586b53c877593c5d0f1c19a9a25954fbf |
|
MD5 | 71a17a3df0083d609b89749b9ca8db42 |
|
BLAKE2b-256 | dabf452c746448b78710bdd07e48b6ab445d22964259b0ccc875b9de041ae832 |
Hashes for mrsimulator-0.6.0rc5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c5f76467992f9857f6d6358cf1a15a8708722eb58f18d1b94edf36a4f3284f |
|
MD5 | 4d251bf657b16a109431771f6c97710b |
|
BLAKE2b-256 | d5c734f9b53035e09a8e443cebe929cf85345475a5edfa2d3deae62d4900f6fb |
Hashes for mrsimulator-0.6.0rc5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f07fe90f915fa4f1bf6fe50b1a285bf056960b7153d84308e017c01b20bec2c |
|
MD5 | 66ad2e4d242601f88008edce22ea0f56 |
|
BLAKE2b-256 | 7bf4a86054b85d6d85781ca44e2bcdf454b8da1bf7f2dd4291cc18a523cb2f9c |
Hashes for mrsimulator-0.6.0rc5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 443f121623353e964871404dfad411185508c5ac2929c7d52984ea5cfb57a94e |
|
MD5 | ee7ce58d67b775085130a975e07c47ba |
|
BLAKE2b-256 | 99f370a6cbb1023b810b86c2d3a3db833055f1bdd14efda51db29142deb7d66d |
Hashes for mrsimulator-0.6.0rc5-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 105fcf3df00fc4d7e5ee16fbb12a570885d6c8c2ad00d12fc6f1729dcfe146e5 |
|
MD5 | 1cdbcac162564af8026dd68dbe3bf76d |
|
BLAKE2b-256 | f1a6e8640abb44e2522158575762a1a61eb6fab80fb9789c008a7230c544e252 |
Hashes for mrsimulator-0.6.0rc5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f93c0cc40d916b9ce4593a853fd20e4e7db7bf7804046d758c2359c037fc619a |
|
MD5 | 3e888fdc14d56266c27aa319ab8fe9c6 |
|
BLAKE2b-256 | dbf211a2ff100f3b4e4119efd19e56d166b976ab4e1e301f8cb6a80b165e034f |
Hashes for mrsimulator-0.6.0rc5-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f85bc34c75858be1e01465b114a04dcbd59f01a0ed41ada6665e3835881db0 |
|
MD5 | 7fc4f0979ada7f4421ece9be63eae9bc |
|
BLAKE2b-256 | 409a95942832366d1721f4e8ae55eca3176c3bcf2f4f1c0dd95d48bb3ca26cd0 |
Hashes for mrsimulator-0.6.0rc5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f393664ad00022f1df50446b69e9d47e7f91c1bfea7f78a3f134118e5150db7d |
|
MD5 | 8a89964315bbe813cce3c3120e259297 |
|
BLAKE2b-256 | 3f6066d1acf7812b84d962c82caff42f16ec035567c10dc7c60554a1cd75b66b |