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_mc  (  n_samples = None ground_state_labels = None  )[source]

Parameters:
n_samplesint | None

The number of samples to create. If None, the minimum number of samples is created.

ground_state_labelsIterable[str] | str | None

An Iterable of labels belonging to ground states.

Returns:
y0_mcndarray

The initial population of the atom for the Monte-Carlo master equation solver.

API navigation