Difference between revisions of "Weblab2nqi.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(sync with Spinach main f053e432: four call signatures, fixed azimuth grids in four- and six-site modes)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
−
     [Q1,Q2,...]=weblab2nqi(C_q,eta_q,I,alpha,theta,phi)
+
     [Q1,Q2]=weblab2nqi(C_q,eta_q,I,alpha,theta,phi)
 +
    [Q1,Q2,Q3]=weblab2nqi(C_q,eta_q,I,alpha,theta,phi)
 +
    [Q1,Q2,Q3,Q4]=weblab2nqi(C_q,eta_q,I,alpha,theta)
 +
    [Q1,Q2,Q3,Q4,Q5,Q6]=weblab2nqi(C_q,eta_q,I,alpha,theta)
  
−
==Arguments==
+
==Parameters==
  
 
     C_q          - quadrupolar coupling constant e^2*q*Q/h
 
     C_q          - quadrupolar coupling constant e^2*q*Q/h
Line 18: Line 21:
 
     theta
 
     theta
 
     phi          - the three angles of Weblab cone model  
 
     phi          - the three angles of Weblab cone model  
−
                     (see weblab_cone.png), in radians
+
                     (see weblab_cone.png), in radians; the
 +
                    four- and six-site modes place the sites
 +
                    on fixed azimuth grids, [0 1 2 3]*pi/2
 +
                    and [0 1 2 3 4 5]*pi/3 respectively, and
 +
                    must therefore be called without phi
  
 
[[File:weblab_model.png]]
 
[[File:weblab_model.png]]
Line 29: Line 36:
  
 
==See also==
 
==See also==
−
[[Import, export, and visualisation]]
+
[[c2spinach.m]], [[cyprinol.m]], [[fatty_acid.m]], [[g2spinach.m]], [[gissmo2spinach.m]], [[gparse.m]], [[karplus_fit.m]], [[killcross.m]], [[killdiag.m]], [[merge_inp.m]], [[methyl_group.m]], [[nuclacid.m]], [[ocparse.m]], [[oparse.m]], [[parsexml.m]], [[protein.m]], [[read_bmrb.m]], [[read_pdb_nuc.m]], [[read_pdb_pro.m]], [[v2spinach.m]], [[x2spinach.m]], [[Import, export, and visualisation]]
−
 
 
  
 
''Version 2.6, authors: [[Ilya Kuprov]]''
 
''Version 2.6, authors: [[Ilya Kuprov]]''

Latest revision as of 07:47, 30 August 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)
    [Q1,Q2,Q3]=weblab2nqi(C_q,eta_q,I,alpha,theta,phi)
    [Q1,Q2,Q3,Q4]=weblab2nqi(C_q,eta_q,I,alpha,theta)
    [Q1,Q2,Q3,Q4,Q5,Q6]=weblab2nqi(C_q,eta_q,I,alpha,theta)

Parameters

    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; the
                   four- and six-site modes place the sites
                   on fixed azimuth grids, [0 1 2 3]*pi/2
                   and [0 1 2 3 4 5]*pi/3 respectively, and
                   must therefore be called without phi

Weblab model.png

Outputs

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

See also

c2spinach.m, cyprinol.m, fatty_acid.m, g2spinach.m, gissmo2spinach.m, gparse.m, karplus_fit.m, killcross.m, killdiag.m, merge_inp.m, methyl_group.m, nuclacid.m, ocparse.m, oparse.m, parsexml.m, protein.m, read_bmrb.m, read_pdb_nuc.m, read_pdb_pro.m, v2spinach.m, x2spinach.m, Import, export, and visualisation

Version 2.6, authors: Ilya Kuprov