Difference between revisions of "Eeqq2nqi.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Converts the C_q and eta_q quadrupolar interaction specification convention into a 3x3 interaction matrix in Hz. Usage: Q=eeqq2nqi(C_q,eta_q,I,euler_angle...")
 
(Update function See also links and function index membership)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
Converts the C_q and eta_q quadrupolar interaction specification convention into a 3x3 interaction matrix in Hz. Usage:
+
{{DISPLAYTITLE:eeqq2nqi.m}} __NOTOC__
 +
Converts the C_q and eta_q quadrupolar interaction specification convention into a 3x3 interaction matrix in Hz.
  
−
                    Q=eeqq2nqi(C_q,eta_q,I,euler_angles)
+
==Syntax==
  
−
where C_q is the quadrupolar coupling constant (Hz), eta_q is the quadrupolar tensor asymmetry parameter, I is the spin quantum number and the last parameter is a vector of three Euler angles in radians, giving the orientation of the principal axis frame relative to the lab frame.
+
    Q=eeqq2nqi(C_q,eta_q,I,euler_angles)
 +
 
 +
==Parameters==
 +
 
 +
    C_q          - quadrupolar coupling constant e^2*q*Q/h
 +
                    in Hz
 +
 +
    eta_q       - quadrupolar tensor asymmetry parameter
 +
 +
    I           - spin quantum number  
 +
 +
    euler_angles - vector of three Euler angles in radians,
 +
                    giving the orientation of the principal
 +
                    axis frame relative to the lab frame.
 +
 
 +
==Outputs==
 +
 
 +
    Q            - quadrupolar coupling tensor as a 3x3
 +
                    matrix in Hz
 +
 
 +
==Examples==
 +
Most quadrupolar NMR examples in examples/nmr_solids and examples/optimal_control make use of this function.
 +
 
 +
==Notes==
 +
We do not recommend storing quadrupolar tensors in Cq/eta_q format - the 3x3 matrix is always better. This function is provided for historical compatibility reasons.
 +
 
 +
==See also==
 +
[[rlx_nqi.m]], [[castep2nqi.m]], [[zfs2mat.m]], [[anas2mat.m]], [[ang2cgsppm.m]], [[axrh2mat.m]], [[cgsppm2ang.m]], [[conmat.m]], [[dictum.m]], [[dihedral.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]], [[xyz2dd.m]], [[Kernel_utilities]]
 +
 
 +
''Version 2.2, authors: [[Ilya Kuprov]]''

Latest revision as of 18:36, 6 June 2026

Converts the C_q and eta_q quadrupolar interaction specification convention into a 3x3 interaction matrix in Hz.

Syntax

    Q=eeqq2nqi(C_q,eta_q,I,euler_angles)

Parameters

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

    eta_q        - quadrupolar tensor asymmetry parameter

    I            - spin quantum number 

    euler_angles - vector of three Euler angles in radians,
                   giving the orientation of the principal
                   axis frame relative to the lab frame.

Outputs

    Q            - quadrupolar coupling tensor as a 3x3
                   matrix in Hz

Examples

Most quadrupolar NMR examples in examples/nmr_solids and examples/optimal_control make use of this function.

Notes

We do not recommend storing quadrupolar tensors in Cq/eta_q format - the 3x3 matrix is always better. This function is provided for historical compatibility reasons.

See also

rlx_nqi.m, castep2nqi.m, zfs2mat.m, anas2mat.m, ang2cgsppm.m, axrh2mat.m, cgsppm2ang.m, conmat.m, dictum.m, dihedral.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, xyz2dd.m, Kernel_utilities

Version 2.2, authors: Ilya Kuprov