Difference between revisions of "Get coupling.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(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...")
 
(Normalise sequential blank lines)
Line 17: Line 17:
 
==See also==
 
==See also==
 
[[Kernel_utilities#Spin_system_editing|Spin system editing]]
 
[[Kernel_utilities#Spin_system_editing|Spin system editing]]
 
  
 
''Version 2.7, authors: [[Ilya Kuprov]]''
 
''Version 2.7, authors: [[Ilya Kuprov]]''

Revision as of 12:26, 25 April 2026

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