Documentation

Guides and notebooks

Each guide is a Markdown document whose code runs in the test suite, and a Jupyter notebook generated from it with its outputs and interactive plots. The notebook links open in nbviewer, which renders the Plotly figures interactively; GitHub's own viewer shows the static copies saved with them. The tables are generated from the documentation index.

Spinach port

spynach

Read in order for a tour: Hilbert space first, then Liouville space; the solid-state, relaxation and spinning guides each add one ingredient; the pulse-sequence guide puts them together. Coming from Spinach is the reference for what carries over and what differs.

GuideCoversOpen
Hilbert spaceliquid-state NMR in Hilbert space (zeeman-hilb): setup, the simulation pipeline, pulse sequences, tolerances, parity with Spinach
Liouville spacethe spherical-tensor formalism (sphten-liouv): basis descriptor, state-space restriction (IK-0/1/2), filters, chemical subsystems
Solid stateanisotropic interactions: tensors from eigenvalues and Euler angles, dipolar couplings from coordinates, quadrupolar couplings, the Q components and orientation, crystal and powder contexts, grids, assumption sets
RelaxationRedfield theory for rotational diffusion, T1/T2 and damping models, retention policies, thermal equilibrium and thermalisation, transient NOE
Magic angle spinningthe Fokker-Planck treatment of sample rotation: rotor phase grid and spectral derivative, the singlerot context, sidebands, rotor echoes
Pulse sequenceswriting sequences, apodisation and plot_2d, decoupling and homospoil, COSY, NOESY, HSQC with isotopomer dilution
Coming from Spinachwhat carries over from Spinach and what differs: spin systems, basis, operators, Hamiltonians, parameters, calculation modalities, processing
EasySpin port

EPReasy

The foundation guide covers spin systems, operators, Hamiltonians, energy levels, resonance fields, line shapes and grids; the simulators guide runs every simulator on a nitroxide and a few other systems. Coming from EasySpin is the reference for what carries over, what differs and what is not ported.

GuideCoversOpen
EPR spin systems with epreasythe EasySpin port beside Spynach: spin systems as dicts with EasySpin's fields, sop and stev, ham with the field split, levels, resfields, line shapes and grids
EPR simulations with epreasypepper for powders and crystals, garlic for solutions, esfit for fitting, salt for ENDOR, curry for magnetometry, chili for slow motion
Coming from EasySpinwhat carries over from EasySpin to epreasy, what differs, and what is not ported
Extras

ctps and what originated here

GuideCoversOpen
Coherence transfer pathwaysthe separate ctps module: pathway enumeration, phase cycling, gradients, diffusion, non-ideal pulses, cogwheel cycle search, the pathway explorer
Coherence transfer pathways: worked examplesa cookbook for ctps: double-quantum filter, imperfect spin echo, stimulated echo, NOESY-sized enumeration, HSQC, MQMAS nested versus cogwheel, multi-echo trains, cogwheel plus gradients, MRS crushers; then every check of the module's tests as a runnable example
Beyond the portfeatures with no Spinach counterpart, each with an example: ctps, non-ideal pulses and cogwheel search, interactive figures and figure_png, compare and the parity page, executable documentation
More

Parity page, Colab, example scripts