Difference between revisions of "Xyz2dd.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Update function See also links and function index membership) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:xyz2dd.m}} __NOTOC__ | {{DISPLAYTITLE:xyz2dd.m}} __NOTOC__ | ||
| − | |||
Converts coordinate specification of the dipolar interaction into the dipolar interaction constant, three Euler angles, and the dipolar interaction matrix. | Converts coordinate specification of the dipolar interaction into the dipolar interaction constant, three Euler angles, and the dipolar interaction matrix. | ||
==Syntax== | ==Syntax== | ||
| − | [d,alp,bet,gam,m]=xyz2dd(r1,r2,isotope1,isotope2) | + | [d,alp,bet,gam,m]=xyz2dd(r1,r2,isotope1,isotope2) |
| − | == | + | ==Parameters== |
| − | r1,2 - 3-element vectors of spin coordinates | + | r1,2 - 3-element vectors of spin coordinates |
in Angstroms | in Angstroms | ||
| Line 17: | Line 16: | ||
==Outputs== | ==Outputs== | ||
| − | d - dipolar coupling constant, rad/s | + | d - dipolar coupling constant, rad/s |
| − | + | ||
alp - alpha Euler angle, radians | alp - alpha Euler angle, radians | ||
| − | + | ||
bet - beta Euler angle, radians | bet - beta Euler angle, radians | ||
| − | + | ||
gam - gamma Euler angle, radians | gam - gamma Euler angle, radians | ||
| − | + | ||
| − | + | m - dipolar interaction tensor, rad/s | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Notes== | ==Notes== | ||
| − | |||
1. Euler angles are not uniquely defined for the orientation of axial interactions (gamma angle can be anything). | 1. Euler angles are not uniquely defined for the orientation of axial interactions (gamma angle can be anything). | ||
| Line 42: | Line 32: | ||
==See also== | ==See also== | ||
| − | + | [[xyz2hfc.m]], [[xyz2pms.m]], [[hfc2pcs.m]], [[hfc2pms.m]], [[anas2mat.m]], [[ang2cgsppm.m]], [[axrh2mat.m]], [[castep2nqi.m]], [[cgsppm2ang.m]], [[conmat.m]], [[dictum.m]], [[dihedral.m]], [[eeqq2nqi.m]], [[frac2cart.m]], [[g2freq.m]], [[gauss2mhz.m]], [[ham2nqi.m]], [[hartree2joule.m]], [[hz2icm.m]], [[hz2ppm.m]], [[ias2mat.m]], [[mat2axrh.m]], [[mat2ias.m]], [[mhz2gauss.m]], [[mt2hz.m]], [[offsetof.m]], [[ppm2hz.m]], [[spsk2mat.m]], [[tsm2param.m]], [[zfs2mat.m]], [[Kernel_utilities]] | |
| − | [[xyz2hfc.m]], [[xyz2pms.m]], [[hfc2pcs.m]], [[hfc2pms.m]] | ||
| − | |||
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 18:43, 6 June 2026
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)
Parameters
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, hfc2pcs.m, hfc2pms.m, anas2mat.m, ang2cgsppm.m, axrh2mat.m, castep2nqi.m, cgsppm2ang.m, conmat.m, dictum.m, dihedral.m, eeqq2nqi.m, frac2cart.m, g2freq.m, gauss2mhz.m, ham2nqi.m, hartree2joule.m, hz2icm.m, hz2ppm.m, ias2mat.m, mat2axrh.m, mat2ias.m, mhz2gauss.m, mt2hz.m, offsetof.m, ppm2hz.m, spsk2mat.m, tsm2param.m, zfs2mat.m, Kernel_utilities
Version 2.2, authors: Ilya Kuprov