get_coupling.m

From Spinach Documentation Wiki
Revision as of 19:37, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Extracts the 3x3 coupling tensor between a pair of spins back from the spin_system data structure.

Syntax

    A=get_coupling(spin_system,n,k)

Parameters

    n,k  - indices of the two spins as they appear 
           in spin_system.comp.isotopes

Outputs

    A  - 3x3 coupling tensor in rad/s

See also

chemshifts.m, cubic_lattice.m, dilute.m, gtensorof.m, idxof.m, iselectron.m, isnucleus.m, isoswap.m, kill_spin.m, nearest_spin.m, shift_iso.m, Kernel_utilities

Version 2.7, authors: Ilya Kuprov