Difference between revisions of "Xyz2dd.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Converts coordinate specification of the dipolar interaction into the dipolar interaction constant (angular frequency units) and three Euler angles in radians. Syntax: [...")
 
Line 1: Line 1:
−
Converts coordinate specification of the dipolar interaction into the dipolar interaction constant (angular frequency units) and three Euler angles in radians. Syntax:
+
{{DISPLAYTITLE:xyz2dd.m}}
 +
Converts coordinate specification of the dipolar interaction into the dipolar interaction constant, three Euler angles, and the dipolar interaction matrix.
  
−
    [d,alpha,beta,gamma]=xyz2dd(r1,r2,isotope1,isotope2)
+
==Syntax==
  
−
where r1 and r2 are 3-element vectors of spin coordinates in Angstroms and isotope(1,2) are isotope strings, e.g. '13C'.
+
    [d,alp,bet,gam,m]=xyz2dd(r1,r2,isotope1,isotope2)
  
−
N.B. Euler angles in ZYZ convention are not uniquely defined for the orientation of axial interactions (gamma angle can be anything).
+
==Arguments==
 +
 
 +
    r1,2      - 3-element vectors of spin coordinates
 +
                in Angstroms
 +
 +
    isotope1,2 - isotope specification strings, e.g.
 +
                '13C'.
 +
 
 +
==Outputs==
 +
 
 +
      d    - dipolar coupling constant, rad/s
 +
 +
    alp    - alpha Euler angle, radians
 +
 +
    bet    - beta Euler angle, radians
 +
 +
    gam    - gamma Euler angle, radians
 +
 +
      m    - dipolar interaction tensor, rad/s
 +
 
 +
==Notes==
 +
1. Euler angles are not uniquely defined for the orientation of axial interactions (gamma angle can be anything).
 +
 
 +
2. Free-particle magnetogyric ratios are used, use [[xyz2hfc.m]] if you have electrons in the system.
 +
 
 +
==See also==
 +
[[xyz2hfc.m]], [[xyz2pms.m]], [[xyz2pcs.m]], [[hfc2pcs.m]], [[hfc2pms.m]]
 +
 
 +
 
 +
''Version 2.2, authors: [[Ilya Kuprov]]''

Revision as of 10:50, 21 August 2018

Converts coordinate specification of the dipolar interaction into the dipolar interaction constant, three Euler angles, and the dipolar interaction matrix.

Syntax

    [d,alp,bet,gam,m]=xyz2dd(r1,r2,isotope1,isotope2)

Arguments

   r1,2       - 3-element vectors of spin coordinates
                in Angstroms 

   isotope1,2 - isotope specification strings, e.g.
                '13C'.

Outputs

     d     - dipolar coupling constant, rad/s

   alp     - alpha Euler angle, radians

   bet     - beta Euler angle, radians

   gam     - gamma Euler angle, radians

     m     - dipolar interaction tensor, rad/s

Notes

1. Euler angles are not uniquely defined for the orientation of axial interactions (gamma angle can be anything).

2. Free-particle magnetogyric ratios are used, use xyz2hfc.m if you have electrons in the system.

See also

xyz2hfc.m, xyz2pms.m, xyz2pcs.m, hfc2pcs.m, hfc2pms.m


Version 2.2, authors: Ilya Kuprov