gtensorof.m
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