mrsimulator: v0.3.0: A fast solid-state NMR spectrum simulation library.
Authors/Creators
- 1. Ohio State University
- 2. LBNL
Description
Mrsimulator
mrsimulator is an open-source python package for computing 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. The library is optimized for computing both crystalline and amorphous materials and is compatible with modern python packages, such as scikit-learn, Keras, etc. The core of the mrsimulator library is written in C, wrapped, and made available in python.
What's new!
- ⭐ Improved simulation performance. ⭐.
- Removed the
Dimensionclass and added a newMethodclass instead. - New methods for simulating the NMR spectrum:
BlochDecaySpectrumandBlochDecayCentralTransitionSpectrum.
The Bloch decay spectrum method simulates all p=Δm=-1 transition pathways, while the Bloch decay central transition selective spectrum method simulates all transition pathways with p=Δm=-1 and d=0.
- New
Isotope,Transition, andZeemanStateclasses. - Every class now includes a
reduced_dict()method. The reduced_dict method returns a dictionary with minimal key-value pairs required to simulate the spectrum. Note, this may cause metadata loss, if any. - Added a
labelanddescriptionattributes to theSiteclass. - Added a new
labelattribute to theSpinSystemclass. - New
SignalProcessorclass for post-simulation signal processing. - Improved usage of least-squares minimization using python LMFIT package.
- Added a new
get_spectral_dimensionsutility function to extract the spectral dimensions information from the CSDM object.
Bug fixes
- Fixed bug resulting from the rotation of the fourth rank tensor with non-zero euler angles.
- Fixed bug causing a change in the spectral area as the sampling points change. Now the area is constant.
- Fixed bug resulting in an incorrect spectrum when non-coincidental quad and shielding tensors are given.
- Fixed bug causing incorrect generation of transition pathways when multiple events are present.
Other changes
- Renamed the
decomposeattribute from theConfigSimulatorclass todecompose_spectrum. The attribute is an enumeration with the following literals:none: Computes a spectrum which is an integration of the spectra from all spin systems.spin_system: Computes a series of spectra each corresponding to a single spin system.
- Renamed
Isotopomerclass toSpinSystem. - Renamed
isotopomersattribute fromSimulatorclass tospin_systems. - Renamed
dimensionsattribute fromSimulatorclass tomethods. - Changed the default value of
nameanddescriptionattribute from theSpinSystemclass from""toNone.
Files
DeepanshS/mrsimulator-v0.3.0.zip
Files
(2.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e082da1dba68a43f7f86e42e97db26fb
|
2.7 MB | Preview Download |
Additional details
Related works
- Is documented by
- https://mrsimulator.readthedocs.io/en/latest/ (URL)
- Is supplement to
- https://github.com/DeepanshS/mrsimulator/tree/v0.3.0 (URL)