Changelog¶
v0.5.1¶
Bug fixes¶
Fixed a bug that was causing incorrect spectral binning when the frequency contribution is pure isotropic.
Other changes¶
The
to_dict_with_units()method is deprecated and is replaced withjson()The
json()function returns a python dictionary object with minimal required keywords, where the event keys are globally serialized at the root method object. In the case where the event key value is different from the global value, the respective key is serialized within the event object.The
json()function will no longer serialize the transition_query objects for the named objects.
v0.5.0¶
What’s new¶
⭐ Improved simulation performance. ⭐ See our Benchmark.
The update introduces various two-dimensional methods for simulating NMR spectrum.
Introduces a generic one-dimensional method,
Method1D.Introduces a generic two-dimensional method,
Method2D.Specialized two-dimensional methods for multi-quantum variable-angle spinning with build-in affine transformations.
Specialized two-dimensional methods for satellite-transition variable-angle spinning with build-in affine transformations.
Specialized two-dimensional isotropic/anisotropic sideband correlation method,
SSB2D.
Other changes¶
The
get_transition_pathways()method no longer return a numpy array, instead a python list.
v0.4.0¶
What’s new!¶
⭐ Improved simulation performance. ⭐ See our Benchmark.
New
CzjzekDistributionandExtCzjzekDistributionclasses for generating Czjzek and extended Czjzek second-rank symmetric tensor distribution models for use in simulating amorphous materials.New utility function,
single_site_system_generator(), for generating a list of single-site spin systems from a 1D list/array of respective tensor parameters.
v0.3.0¶
What’s new!¶
⭐ Improved simulation performance. ⭐ See our Benchmark.
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.
v0.2.x¶
What’s new!¶
Added more isotopes to the simulator. Source NMR Tables (https://apps.apple.com/bn/app/nmr-tables/id1030899609?mt=12).
Added two new keywords: atomic_number and quadrupole_moment.
Added documentation for every class.
Added examples for simulating NMR quadrupolar spectrum.
Bug fixes¶
Fixed amplitude normalization. The spectral amplitude no longer change when the integration_density, integration_volume`, or the number_of_sidebands attributes change.
Other changes¶
Removed plotly-dash app to its own repository.
Renamed the class
SpectrumtoDimension
v0.1.3¶
Fixed missing files from source tar.
v0.1.2¶
Initial release on pypi.
v0.1.1¶
Added solid state quadrupolar spectrum simulation.
Added mrsimulator plotly-dash app.
v0.1.0¶
Solid state chemical shift anisotropy spectrum simulation.