xyz2rdc.m

From Spinach Documentation Wiki
Revision as of 14:05, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
Jump to: navigation, search


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