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. schmidt_line  (  l ,  i ,  is_proton  )[source]

The single-particle Schmidt value of the nuclear magnetic moment

$$ \mu = \begin{cases}\frac{I}{I + 1}\left((L + 1)g_L - \frac{1}{2}g_s\right), & I < L \\ Lg_L + \frac{1}{2}g_s, & \text{else}\end{cases}. $$
Parameters:
lscalar

The orbital angular momentum quantum number $L$ of the nucleon.

iscalar

The nuclear spin quantum number $I$.

is_protonbool

Whether the contributing nucleon is a proton (True) or a neutron (False).

Returns:
mu_schmidtndarray

The Schmidt value of the nuclear magnetic moment $\mu$ ($\mu_\mathrm{N}$).