MathNMR
Spin and spatial tensor manipulations are frequently required to describe and the theory of NMR experiments. This is a Mathematica package, 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, including spins 1/2 and quadrupolar spins alike. The package is available for free under the MIT License.
V. 1.2.2: added support for antisymmetric CSA relaxation.
1. Download MathNMR.
2. Put MathNMR.m somewhere into Mathematica’s search path.
3. Please refer to J. Magn. Reson. 176 (2005) 7-14 for documentation.
4. The Notebook file PaperExamples.nb contains examples of calculations.