## 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.

V. 1.2.2: added support for antisymmetric CSA relaxation.

1. Download MathNMR.

2. Put MathNMR.m somewhere into Mathematica's search path.

3. Look up J. Magn. Reson. 176 (2005) 7-14 for documentation.

4. Look at PaperExamples.nb for examples of calculations.

.