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.plot  (  indices = None draw_bounds = False show = True  )[source]

Plot a term scheme of the atom.

Parameters:
indicesarray_like

The indices of the states to be drawn. If None, all states are drawn.

draw_boundsbool

Whether to draw the upper vertical bounds of the states.

showbool

Whether to show the plot.

Returns:
outNone

The x and y positions of the states as well as the distance constant d.

API navigation