Skip to main content

Mrinversion

Deployment PyPI version PyPI - Python Version
Build Status GitHub Workflow Status Read the Docs
License License
Metrics codecov

The mrinversion python package is based on the statistical learning technique for determining the underlying distribution of the magnetic resonance (NMR) parameters.

The library utilizes the mrsimulator package for generating solid-state NMR spectra and scikit-learn package for statistical learning.


Features

The mrinversion package includes

  • Spectral Inversion: Two-dimensional solid-state NMR spectrum of dilute spin-systems correlating the isotropic to anisotropic frequencies to a three-dimensional distribution of NMR tensor parameters. Presently, 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.

  • Relaxometry Inversion: Inversion of NMR relaxometry measurements to the distribution of relaxation parameters (T1, T2).

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

Release files for mrinversion 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mrinversion 0.3.1
File Size Uploaded
mrinversion-0.3.1.tar.gz 28.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mrinversion 0.3.1
File Interpreter ABI Platform
mrinversion-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 61.2 kB

Release files / mrinversion-0.3.1.tar.gz

Download URL mrinversion-0.3.1.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4efe3b73331ebb011920cd8f6f82bc9efe0182794a74e2bd974516d76f08799
BLAKE2b-256 checksum
How to use checksums
75859d680d2dee255d9aa2b29e80dd5b0bc5f3b7e8850f78c7d4b24ddb1ce00d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / mrinversion-0.3.1-py3-none-any.whl

Download URL mrinversion-0.3.1-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6b85c2c42e3bf310b5b8b14cf5f8ab2f92b3e1eadce34b9857da4eb61cec2a7
BLAKE2b-256 checksum
How to use checksums
586da1dc170f7848890f61f5b2f683529ee60f138a4fe161ba4def3b27880ab1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page