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.models. hf_shift  (  hyper_l ,  hyper_u ,  coeff_l ,  coeff_u  )[source]

The hyperfine structure shift of an optical transition

$$ \Delta_\mathrm{hfs} = \sum\limits_k K_k^u c_k^u - \sum\limits_k K_k^l c_k^l, $$

with the hyperfine structure constants $K_k \in \{A, B, C\}$ and the coefficients $c_k$, see hf_coeff.

Parameters:
hyper_lIterable[scalar]

The hyperfine structure constants $K_k^l$ of the lower state (Al, Bl, Cl, ...).

hyper_uIterable[scalar]

The hyperfine structure constants $K_k^u$ of the upper state (Au, Bu, Cu, ...).

coeff_lIterable[scalar]

The coefficients $c_k^l$ of the lower state.

coeff_uIterable[scalar]

The coefficients $c_k^u$ of the upper state.

Returns:
dnu_hfsndarray[floating]

The hyperfine structure shift $\Delta_\mathrm{hfs}$ (unit of hyper_l).