SwitchableLaser#

Class Arguments

Argument

Type

Default Value

switch

Switchable

laser_source

LaserSource

zero_freq

TFloat

None

power

TFloat

0.001

Bold arguments are mandatory. For more documentation on the listed arguments refer to the class definition below. If parameters appear in this list but not in the class definition below, please recursively check the linked base classes for the definition of the parameter.

Inheritance Diagram

Inheritance diagram of atomiq.components.laser.SwitchableLaser

Example Component Dictionary

   {
    "laser_example": {
        "classname": "atomiq.components.laser.SwitchableLaser",
        "arguments": {
            "switch": "<mandatory parameter (Switchable)>",
            "laser_source": "<mandatory parameter (LaserSource)>",
            "zero_freq": null,
            "power": 0.001
        }
    }
}

Class Description

class atomiq.components.laser.SwitchableLaser(switch, *args, **kwargs)

Bases: Laser, Switchable

A laser that can be switched on and off

This class represents a laser that can be switched on and off, e.g. by a mechanical shutter. However, every Switchable can be used to switch the laser.

Parameters:
  • laser_source -- The laser source that this laser is taken from

  • switch (Switchable) -- The component that switches the laser light

A Switchable has one ore more channel(s) that can be switched on or off

set_frequency(frequency)

Set the absolute frequency of the light after modulation

Parameters:

frequency (TFloat) -- Absolute frequency of the light after modulation in Hz