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_thermal  (  temperature  )[source]

The initial population of an ensemble of atoms in thermal equilibrium (Boltzmann distribution).

Parameters:
temperaturescalar

The temperature $T$ of the ensemble (K). If 0, see Atom.get_y0.

Returns:
y0ndarray

The initial population of the atom ensemble for the given temperature.