Difference between revisions of "Xyz2rdc.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
{{DISPLAYTITLE:xyz2rdc.m}} __NOTOC__
 
{{DISPLAYTITLE:xyz2rdc.m}} __NOTOC__
 +
 
Converts Cartesian coordinates of a pair of nuclei and an order matrix into residual dipolar coupling.
 
Converts Cartesian coordinates of a pair of nuclei and an order matrix into residual dipolar coupling.
  
 
==Syntax==
 
==Syntax==
  
−
    rdc=xyz2rdc(spin_a,spin_b,xyz_a,xyz_b,chi)
+
rdc=xyz2rdc(spin_a,spin_b,xyz_a,xyz_b,order_spec)
  
 
==Arguments==
 
==Arguments==
  
−
    spin_a, spin_b - character strings indicating spin
+
spin_a, spin_b - character strings indicating spin
 
                       type, for example '13C'
 
                       type, for example '13C'
 
   
 
   
Line 21: Line 22:
 
==Outputs==
 
==Outputs==
  
−
    rdc            - residual dipolar coupling in the
+
rdc            - residual dipolar coupling in the
 
                       heteronuclear case, Hz
 
                       heteronuclear case, Hz
  
 
==See also==
 
==See also==
 +
 
[[Built-in_experiments#Residual_dipolar_couplings|Residual dipolar couplings]]
 
[[Built-in_experiments#Residual_dipolar_couplings|Residual dipolar couplings]]
  
  
 
''Version 2.7, authors: [[Ilya Kuprov]]''
 
''Version 2.7, authors: [[Ilya Kuprov]]''

Revision as of 14:05, 5 April 2026


Converts Cartesian coordinates of a pair of nuclei and an order matrix into residual dipolar coupling.

Syntax

rdc=xyz2rdc(spin_a,spin_b,xyz_a,xyz_b,order_spec)

Arguments

spin_a, spin_b - character strings indicating spin

                     type, for example '13C'

    xyz_a, xyz_b   - three-element vectors specifying
                     Cartesian coordinates of the two
                     spins in Angstroms

    order_spec     - {S,'saupe'} uses Saupe order mat-
                     rix, S is a traceless symmetric
                     3x3 matrix, dimensionless

Outputs

rdc - residual dipolar coupling in the

                     heteronuclear case, Hz

See also

Residual dipolar couplings


Version 2.7, authors: Ilya Kuprov