- 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.