Difference between revisions of "Gtensorof.m"
m (Move Description section into pre-Syntax prose) |
m (Polish opening prose above Syntax section) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:gtensorof.m}} __NOTOC__ | {{DISPLAYTITLE:gtensorof.m}} __NOTOC__ | ||
| − | Returns the g-tensor of the specified spin at the input orientation | + | Returns the g-tensor of the specified spin at the input orientation; input-stage Zeeman interaction specifications may vary, but the returned tensor is always in Bohr magneton units. |
| − | |||
| − | Zeeman interaction specifications | ||
==Syntax== | ==Syntax== | ||
Revision as of 19:16, 5 June 2026
Returns the g-tensor of the specified spin at the input orientation; input-stage Zeeman interaction specifications may vary, but the returned tensor is always in Bohr magneton units.
Syntax
g=gtensorof(spin_system,spin_number)
Parameters
spin_number - a positive integer specifying the number
of the spin in the sys.isotopes list
Outputs
g - a 3x3 matrix in Bohr magneton units
Notes
The same convention (mu=-mu_b*g*S/hbar) is used for the nuclei, meaning that their g-tensors are much smaller than those of electrons.
See also
Version 2.1, authors: Ilya Kuprov, Elizaveta Suturina