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

Creates all substates of a fine-structure state using a common label.

Parameters:
freq_0quant_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]

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

garray_like

The nuclear g-factor.

labelstr

The label of the states. The labels are used to link states via decay maps.

Returns:
outlist[qspec.simulate._simulate_cpp.State]

A list of the created states.

API navigation