Difference between revisions of "Weblab2nqi.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Restore pre-bulk-edit wiki content)
(Normalise sequential blank lines)
Line 30: Line 30:
 
==See also==
 
==See also==
 
[[Import, export, and visualisation]]
 
[[Import, export, and visualisation]]
−
 
  
 
''Version 2.6, authors: [[Ilya Kuprov]]''
 
''Version 2.6, authors: [[Ilya Kuprov]]''

Revision as of 11:31, 25 April 2026

Converts the Weblab one-cone model parameters into NQI tensors used by Spinach.

Syntax

    [Q1,Q2,...]=weblab2nqi(C_q,eta_q,I,alpha,theta,phi)

Arguments

    C_q          - quadrupolar coupling constant e^2*q*Q/h
                   in Hz

    eta_q        - quadrupolar tensor asymmetry parameter

    I            - spin quantum number 

    alpha
    theta
    phi          - the three angles of Weblab cone model 
                   (see weblab_cone.png), in radians

Weblab model.png

Outputs

    Q1,Q2,...    - quadrupolar coupling tensors for the two,
                   three, four, or six sites as 3x3 matrices
                   in Hz

See also

Import, export, and visualisation

Version 2.6, authors: Ilya Kuprov