MathNMR: Spin and spatial tensor manipulations in Mathematica

Research output: Contribution to journalArticlepeer-review


Spin and spatial tensor manipulations are frequently required to describe the theory of NMR experiments. A Mathematica package is presented here, which provides some of the most common functions for these calculations. Examples are the calculation of matrix representations of operators, commutators, projections, rotations, Redfield matrix elements, matrix decomposition into basis operators, change of basis, coherence filtering, and the manipulation of Hamiltonians. The calculations can be performed for any spin system, containing spins 1/2 and quadrupolar spins alike, subject to computational limitations. The package will be available from upon acceptance of the article.

Original languageEnglish (US)
Pages (from-to)7-14
Number of pages8
JournalJournal of Magnetic Resonance
Issue number1
StatePublished - Sep 2005


  • Basis decomposition
  • Cross-correlated relaxation
  • Product operators
  • Redfield coefficients
  • Spin tensors

ASJC Scopus subject areas

  • Biophysics
  • Biochemistry
  • Nuclear and High Energy Physics
  • Condensed Matter Physics


Dive into the research topics of 'MathNMR: Spin and spatial tensor manipulations in Mathematica'. Together they form a unique fingerprint.

Cite this