Difference between revisions of "Weblab2nqi.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Restore pre-bulk-edit wiki content) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:weblab2nqi.m}} __NOTOC__ | {{DISPLAYTITLE:weblab2nqi.m}} __NOTOC__ | ||
| − | |||
Converts the Weblab one-cone model parameters into NQI tensors used by Spinach. | Converts the Weblab one-cone model parameters into NQI tensors used by Spinach. | ||
==Syntax== | ==Syntax== | ||
| − | + | [Q1,Q2,...]=weblab2nqi(C_q,eta_q,I,alpha,theta,phi) | |
==Arguments== | ==Arguments== | ||
| − | C_q - quadrupolar coupling constant e^2*q*Q/h | + | C_q - quadrupolar coupling constant e^2*q*Q/h |
in Hz | in Hz | ||
| Line 25: | Line 24: | ||
==Outputs== | ==Outputs== | ||
| − | Q1,Q2,... - quadrupolar coupling tensors for the two, | + | Q1,Q2,... - quadrupolar coupling tensors for the two, |
three, four, or six sites as 3x3 matrices | three, four, or six sites as 3x3 matrices | ||
in Hz | in Hz | ||
==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 14:50, 5 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
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
