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 lasers and an atom.

Parameters:
atomqspec.simulate._simulate_cpp.Atom

The atom interacting with the lasers.

lasersIterable[qspec.simulate._simulate_cpp.Laser]

The lasers interacting with the atom.

environmentqspec.simulate._simulate_cpp.Environment

The electromagnetic environment of the interaction.

delta_maxscalar

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

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.

instanceNone

A pointer to an existing Interaction instance. If this is specified, the other parameters are omitted.

API navigation