Xyz2dd.m

From Spinach Documentation Wiki
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).