qspec logo qspec 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. DecayMap  (  labels=None ,  a=None ,  k_max=1  )[source]

A map linking sets of atomic states via Einstein-A coefficients. The class supports all multipole orders for electric and magnetic transitions.

Parameters:
labelsIterable[tuple] | None

An iterable of pairs of labels connected via Einstein-A coefficients. The order of each pair is arbitrary.

aIterable[scalar | dict] | None

An iterable of Einstein-A coefficients $A_{if}$, where the states $|i\rangle$ and $|f\rangle$ have the labels specified in the list of labels ($2\pi\,\mathrm{MHz}$). If a[i] is a single value, only the lowest allowed (not necessarily the dominant!) multipole transition will be used. Each a[i] can also be a dict with the keys "e" or "m" to use either first allowed multipole order, or "e{k}" or "m{k}" to define specific rank-$k$ multipole transitions.

k_maxint

The maximum considered multipole order $k_\mathrm{max}$. The default value is 1 (dipole).

Attributes:
instanceCppHandler

The wrapped C++ instance.

k_maxint

The maximum considered multipole order $k_\mathrm{max}$. The default value is 1 (dipole).

labelslist[tuple[str, str]]

A list of pairs of labels connected via Einstein-A coefficients. The order of each pair is arbitrary.

sizeint

The number of linked sets of atomic states.