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.Interaction  (  atom = None lasers = None environment = None delta_max = 1000.0 controlled = True instance = None  )[source]

Class representing an Interaction between an Atom and a list of lasers in an Environment. All frequencies are in $\mathrm{MHz}$, all times are in $\mu\mathrm{s}$.

Parameters:
atomqspec.simulate.Atom

The Atom interacting with the lasers.

lasersIterable[qspec.simulate.Laser]

The lasers interacting with the Atom.

environmentqspec.simulate.Environment

The electromagnetic Environment of the interaction.

delta_maxscalar

The maximum difference between a laser and a transition frequency for that transition to be considered laser-driven. The default value is 1000.0 (MHz).

controlledbool

Whether the ODE solver uses an error controlled stepper or a fixed step size. Setting this to True is particularly useful for dynamics where a changing resolution is required. However, this comes at the cost of computing time. The default step size for the uncontrolled stepper is dt = 1e-3 (1 ns).

instanceqspec.simulate.Interaction | ctypes.LP_c_char

An existing Interaction instance. If this is specified, the other parameters are omitted.

API navigation