Difference between revisions of "Gtensorof.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Polish opening prose above Syntax section)
(Update function See also links and function index membership)
 
Line 19: Line 19:
  
 
==See also==
 
==See also==
[[spin.m]], [[isnucleus.m]], [[xyz2dd.m]]
+
[[spin.m]], [[isnucleus.m]], [[xyz2dd.m]], [[chemshifts.m]], [[cubic_lattice.m]], [[dilute.m]], [[get_coupling.m]], [[idxof.m]], [[iselectron.m]], [[isoswap.m]], [[kill_spin.m]], [[nearest_spin.m]], [[shift_iso.m]], [[Kernel_utilities]]
  
 
''Version 2.1, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''
 
''Version 2.1, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''

Latest revision as of 19:37, 6 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

spin.m, isnucleus.m, xyz2dd.m, chemshifts.m, cubic_lattice.m, dilute.m, get_coupling.m, idxof.m, iselectron.m, isoswap.m, kill_spin.m, nearest_spin.m, shift_iso.m, Kernel_utilities

Version 2.1, authors: Ilya Kuprov, Elizaveta Suturina