qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. lande_j  (  s ,  l ,  j ,  approx_g_s=False  )[source]

The electronic g-factor in the LS-coupling scheme

$$ g_J = -\frac{J(J + 1) + L(L + 1) - S(S + 1)}{2J(J + 1)} + g_s\,\frac{J(J + 1) - L(L + 1) + S(S + 1)}{2J(J + 1)}. $$

Note that in this definition the negative charge of the electron is included in the g-factor, such that $g_s$ is negative.

Parameters:
sscalar

The electron spin quantum number $S$.

lscalar

The electronic angular momentum quantum number $L$.

jscalar

The electronic total angular momentum quantum number $J$.

approx_g_sbool

Whether to use $g_s = -2$ (True) or the QED result $g_s = -2.0023\ldots$ (False). The default is False.

Returns:
g_Jfloat

The electronic g-factor $g_J$.