Skip to main content

Python based statistical learning of NMR tensor parameters distribution from 2D isotropic/anisotropic NMR correlation spectra.

Project description

Mrinversion

Deployment PyPI version PyPI - Python Version
Build Status GitHub Workflow Status Read the Docs
License License
Metrics Language grade: Python codecov Total alerts

The mrinversion python package is based on the statistical learning technique for determining the distribution of the magnetic resonance (NMR) tensor parameters from two-dimensional NMR spectra correlating the isotropic to anisotropic frequencies. The library utilizes the mrsimulator package for generating solid-state NMR spectra and scikit-learn package for statistical learning.


Features

The mrinversion package includes the inversion of a two-dimensional solid-state NMR spectrum of dilute spin-systems to a three-dimensional distribution of tensor parameters. At present, we support the inversion of

  • Magic angle turning (MAT), Phase adjusted spinning sidebands (PASS), and similar spectra correlating the isotropic chemical shift resonances to pure anisotropic spinning sideband resonances into a three-dimensional distribution of nuclear shielding tensor parameters---isotropic chemical shift, shielding anisotropy and asymmetry parameters---defined using the Haeberlen convention.

  • Magic angle flipping (MAF) spectra correlating the isotropic chemical shift resonances to pure anisotropic resonances into a three-dimensional distribution of nuclear shielding tensor parameters---isotropic chemical shift, shielding anisotropy and asymmetry parameters---defined using the Haeberlen convention.

For more information, refer to the documentation.

View our example gallery

Installation

$ pip install mrinversion

Please read our installation document for details.

How to cite

If you use this work in your publication, please cite the following.

  • Srivastava, D. J.; Grandinetti P. J., Statistical learning of NMR tensors from 2D isotropic/anisotropic correlation nuclear magnetic resonance spectra, J. Chem. Phys. 153, 134201 (2020). DOI:10.1063/5.0023345.

  • Deepansh J. Srivastava, Maxwell Venetos, Philip J. Grandinetti, Shyam Dwaraknath, & Alexis McCarthy. (2021, May 26). mrsimulator: v0.6.0 (Version v0.6.0). Zenodo. http://doi.org/10.5281/zenodo.4814638

Additionally, if you use the CSDM data model, please consider citing

  • Srivastava DJ, Vosegaard T, Massiot D, Grandinetti PJ (2020) Core Scientific Dataset Model: A lightweight and portable model and file format for multi-dimensional scientific data. PLOS ONE 15(1): e0225953. https://doi.org/10.1371/journal.pone.0225953

Project details


Download files

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

Source Distribution

mrinversion-0.2.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

mrinversion-0.2.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file mrinversion-0.2.0.tar.gz.

File metadata

  • Download URL: mrinversion-0.2.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for mrinversion-0.2.0.tar.gz
Algorithm Hash digest
SHA256 efbba0679d1fcec44d113e849dc7889456d7bf5934aa98b3dbe3877a32dd460e
MD5 55af120de2c678bf25c90fd36c639ded
BLAKE2b-256 c70368d0ec404c732b3554ed488762e152d8f2b54e55c4841f476b2622da4232

See more details on using hashes here.

File details

Details for the file mrinversion-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mrinversion-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for mrinversion-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d629198e348d8ef95818f99f92e277bdefc102b22c8e665f5e36cc5e1e42e30b
MD5 e9e7c58f6ccda8bdfd98dcee69d08e8b
BLAKE2b-256 51bcc3f69d7f864a8f400cedc82a4e8707329a3b95793cdacc6874c87c4c6310

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page