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.simulate.gen_electronic_ls_state  (  freq_j s l j i = 0 hyper_const = None gi = 0 label = None  )[source]

Creates all substates of a fine-structure state $|\mathrm{[label]}\pi SLJI\rangle$ using a common label.

Parameters:
freq_jquant_like

The energetic position of the state without the hyperfine structure or the magnetic field (MHz).

squant_like

The electron spin quantum number $S$.

lquant_like

The electronic angular momentum quantum number $L$.

jquant_like

The electronic total angular momentum quantum number $J$.

iquant_like

The nuclear spin quantum number $I$.

hyper_constIterable[array_like]

A list of the hyperfine-structure constants. Currently, constants up to the electric quadrupole order are supported ($A$, $B$). If hyper_const is a scalar, it is assumed to be the constant $A$ and the other orders are 0 (MHz).

giarray_like

The nuclear g-factor $g_I$.

labelstr

The label of the state. The label is used to link states via a DecayMap.

Returns:
stateslist[qspec.simulate.State]

A list of the created states $|\mathrm{[label]}\pi JIFm\rangle$.

API navigation