get_coupling.m

From Spinach Documentation Wiki
Revision as of 12:26, 25 April 2026 by Kuprov (talk | contribs) (Normalise sequential blank lines)
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)

Arguments

    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

Spin system editing

Version 2.7, authors: Ilya Kuprov