Xyz2dd.m

From Spinach Documentation Wiki
Revision as of 16:43, 2 November 2015 by Admin (talk | contribs) (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: [...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Converts coordinate specification of the dipolar interaction into the dipolar interaction constant (angular frequency units) and three Euler angles in radians. Syntax:

    [d,alpha,beta,gamma]=xyz2dd(r1,r2,isotope1,isotope2)

where r1 and r2 are 3-element vectors of spin coordinates in Angstroms and isotope(1,2) are isotope strings, e.g. '13C'.

N.B. Euler angles in ZYZ convention are not uniquely defined for the orientation of axial interactions (gamma angle can be anything).