Gtensorof.m

From Spinach Documentation Wiki
Revision as of 20:29, 1 January 2018 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:function.m}} Returns the g-tensor of the specified spin at the input orientation. ==Syntax== g=gtensorof(spin_system,spin_number) ==Description== Zeeman...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

spin.m, isnucleus.m, xyz2dd.m


Version 2.1, authors: Ilya Kuprov, Elizaveta Suturina