get_coupling.m

From Spinach Documentation Wiki
Revision as of 13:38, 25 October 2022 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:get_coupling.m}} __NOTOC__ Extracts the 3x3 coupling tensor between a pair of spins back from the spin_system data structure. ==Syntax== A=get_coupling(s...")
(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)

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