Difference between revisions of "Rdc fit.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Normalise sequential blank lines)
Line 26: Line 26:
  
 
[[Spin_system_specification#Liquid_crystal_order_matrix|Liquid crystal order matrix]]
 
[[Spin_system_specification#Liquid_crystal_order_matrix|Liquid crystal order matrix]]
−
 
  
 
''Version 2.7, authors: [[Ilya Kuprov]]''
 
''Version 2.7, authors: [[Ilya Kuprov]]''

Revision as of 11:29, 25 April 2026

Linear least squares fitter for residual dipolar couplings. Isotope pairs are arbitrary; multiple isotope pairs may be supplied at the same time.

Syntax

    S=rdc_fit(isotopes,xyz,rdc)

Arguments

  isotopes - N x 2 cell array of strings with Spinach 
             isotope specifications, e.g. '13C'

  xyz      - N x 2 cell array of 3-element vectors
             with Cartesian coordinates in Angstrom

  rdc      - N x 1 vector with residual dipolar coup-
             lings in Hz

Outputs

  S        - Saupe order matrix, a symmetric real
             dimensionless 3x3 matrix

See also

Residual dipolar couplings

Liquid crystal order matrix

Version 2.7, authors: Ilya Kuprov