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

DEPRECATED: For LS coupling, use gen_electronic_ls_state instead. For general electronic states use gen_electronic_state instead. Creates all substates of a fine-structure state $|\mathrm{[label]}\pi SLJI\rangle$ using a common label.

Parameters:
freq_0scalar

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

sscalar

The electron spin quantum number $S$.

lscalar

The electronic angular momentum quantum number $L$.

jscalar

The electronic total angular momentum quantum number $J$.

iscalar

The nuclear spin quantum number $I$.

hyper_constarray_like | None

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).

gscalar

The nuclear g-factor.

labelstr | None

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