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_state_indexes  (  labels = None f = None  )[source]

Parameters:
labelsIterable[str] | str

The labels of the states whose indexes are to be returned.

fIterable[scalar] | numpy.integer | numpy.floating | int | float

The F quantum numbers whose indexes are to be returned.

Returns:
outnumpy.ndarray

The indexes corresponding to the specified labels and F quantum numbers.

API navigation