Gtensorof.m
Returns the g-tensor of the specified spin at the input orientation.
Syntax
g=gtensorof(spin_system,spin_number)
Description
Zeeman interaction specifications at the input stage may vary a lot, but this function always returns the g-tensor in Bohr magneton units.
Arguments
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