Spin dynamics simulation - Spinach library

Simulation of NMR, EPR, DNP, MRI, and other types of magnetic resonance spectroscopy.
Updated 2 Dec 2019

Magnetic resonance spectroscopy is one of the most powerful analytical methods in chemical sciences. It relies on spin - a property of elementary particles that underpins magnetic processes. In practical work, simulations are often needed, but the mathematics of the process is very complicated.

Spinach is a fast (polynomial complexity scaling) open-source spin dynamics simulation library that supports NMR (nuclear magnetic resonance), ESR (electron spin resonance), MRI (magnetic resonance imaging), and other forms of Magnetic resonance spectroscopy. For each specific experiment, Spinach is designed to be easier to program than a magnetic resonance spectrometer.

The package has seen over a decade of development by over fifty researchers across the world. More than a hundred example simulations are provided, along with 600+ pages of detailed documentation.

Cite As

Hogben, H. J., et al. “Spinach – A Software Library for Simulation of Spin Dynamics in Large Spin Systems.” Journal of Magnetic Resonance, vol. 208, no. 2, Elsevier BV, Feb. 2011, pp. 179–94, doi:10.1016/j.jmr.2010.11.008.

View more styles
MATLAB Release Compatibility
Created with R2018b
Compatible with R2018b to R2019b
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!