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.simulate.Atom. get_y0  (  ground_state_labels=None  )[source]

The initial population of the atom with all ground states populated equally.

Parameters:
ground_state_labelsIterable[str] | str | None

An iterable of labels belonging to ground states. If None, the label of the first state Atom.states[0] is used.

Returns:
y0ndarray

The initial population of the atom.