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

Parameters:
n_samplesint

The number of samples to create.

ground_state_labelsIterable[str] | str

An Iterable of labels belonging to ground states.

Returns:
outnumpy.ndarray

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

API navigation