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. HyperfineMixed  (  model ,  i ,  j_l ,  j_u ,  label=None ,  config=None  )[source]

A hyperfine structure model including the hyperfine-induced mixing of fine-structure states with the same $F$, based on [ W. R. Johnson et al., Phys. Rev. A 55, 2728 (1997)]. For the mixed lower or upper states, the peak positions are the eigenvalues of Eq. (2.5) of the reference, parameterized by the fine-structure energies FS_l{i}(J) and FS_u{i}(J). For states without mixing, the hyperfine structure constants A_l{i}(J), B_l{i}(J), ... are used as in Hyperfine. The intensities are named int{i}(...).

Parameters:
modelModel

A submodel whose parameters are adopted by this model.

iscalar

The nuclear spin quantum number $I$.

j_lscalar

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

j_uscalar

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

labelstr | None

A label for the Splitter (isotope / isomer / transition).

configdict | None

The configuration of the hyperfine-induced mixing. This is a dictionary such as {"enabled_l": False, "enabled_u": False, "Jl": [0.5], "Ju": [0.5], "Tl": [[1.0]], "Tu": [[1.0]], "fl": [0.0], "fu": [0.0], "mu": 0.0}, where

  • "enabled_l"/"enabled_u" decide if the corresponding lower/upper states mix,
  • "Jl"/"Ju" are lists of the lower/upper state $J$, including j_l and j_u,
  • "Tl"/"Tu" are the matrix representations of the electronic magnetic dipole operator, see the reference,
  • "fl"/"fu" are lists of the initial fine-structure energies (can be omitted) and
  • "mu" is the magnetic dipole moment of the nucleus ($\mu_\mathrm{N}$).

If None, the mixing is disabled.

Attributes:
descriptionstr

A description of the model hierarchy, e.g., "Offset.Summed[0].Hyperfine.Voigt".

dxfloat

A hint for an x-axis step size for a smooth display of the model.

errorstr

An error message if there is an issue with the model parameters (not implemented).

fixeslist[fix_type]

The fix states of the parameters, see Model.set_fix.

linkslist[bool]

Whether the parameters are linked to the parameters with the same name in a Linked model.

modelModel | None

The submodel.

nameslist[str]

The names of the parameters.

pdict[str, int]

A map of the parameter names to their indexes.

sizeint

The number of parameters required by the model.

typestr

The name of the model type.

valslist[float]

The current values of the parameters.