Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.zeeman_linear  (  m g b_field = 0.0 as_freq = True  )[source]

The shift of an atomic state with magnetic quantum number m due to the linear Zeeman effect $\Delta_\mathrm{Zeeman} = -gm\mu_\mathrm{B}\mathcal{B}$

Parameters:
mquant_like

The magnetic quantum number $m$.

garray_like

The g-factor $g$.

b_fieldarray_like

The B-field $\mathcal{B}$ (T).

as_freqbool

The shift can be returned in energy (False, eV) or frequency units (True, MHz). The default is True

Returns:
outndarray

The linear Zeeman shift $\Delta_\mathrm{Zeeman}$ in energy or frequency units (MHz if as_freq else eV).

API navigation