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. g_0  (  i ,  j_l ,  f_l ,  j_u ,  f1_u ,  f2_u ,  theta_l ,  as_sympy=False  )[source]

The $g$ function, parameterizing the quantum interference part of the perturbative differential scattering rate

$$ g(\theta_\mathrm{L}) = \frac{3}{2\sum_{F_f}(2F_f + 1)}\,\mathrm{Re}\sum\limits_{m_i}\sum\limits_{F_f, m_f} \sum\limits_{\epsilon\in\{x, y\}}C_{i\rightarrow f, \epsilon}^{F^\prime}(\theta_\mathrm{L}) \left[C_{i\rightarrow f, \epsilon}^{F^{\prime\prime}}(\theta_\mathrm{L})\right]^\ast, $$

where $F_f$ and $m_f$ run over all hyperfine states of the lower fine-structure state and $C_{i\rightarrow f, \epsilon}^{F^\prime}$ is the transition dipole element c_dipole, as described in [R. C. Brown et al., Phys. Rev. A 87, 032504 (2013)].

Parameters:
isympy_scalar

The nuclear spin quantum number $I$.

j_lsympy_scalar

The electronic total angular momentum quantum number $J_l$ of the lower state.

f_lsympy_scalar

The total angular momentum quantum number $F_l$ of the lower state.

j_usympy_scalar

The electronic total angular momentum quantum number $J_u$ of the upper state.

f1_usympy_scalar

The first total angular momentum quantum number $F^\prime$ of the upper state.

f2_usympy_scalar

The second total angular momentum quantum number $F^{\prime\prime}$ of the upper state.

theta_lsympy_scalar

The angle $\theta_\mathrm{L}$ between the electric field of the linearly polarized incoming photon and the direction of detection.

as_sympybool

Whether to return the result as a sympy expression (True) or as a float (False).

Returns:
gsympy_expr | float

The value of the $g$ function.