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)[source]

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

detune(frequency)

Alias for set_detuning()

Parameters:

frequency (artiq.compiler.types.TMono('float', OrderedDict()))

set_detuning(detuning)

Set the detuning of the light from the frequency defined by zero_freq

Note

If you are using a modulator (e.g. AOM) the center frequency is not taken into account. If you want to set the detuning from the center frequency of the modulator use self.modulator.set_detuning

Parameters:

detuning (artiq.compiler.types.TMono('float', OrderedDict())) -- Detuning in Hz

set_frequency(frequency)

Set the absolute frequency of the light after modulation

Parameters:

frequency (artiq.compiler.types.TMono('float', OrderedDict())) -- Absolute frequency of the light after modulation in Hz