finesse.components.laser.Laser

Overview

class finesse.components.laser.Laser(name, *args, **kwargs)[source]

Bases: Connector, FrequencyGenerator

Represents a laser producing a beam with associated properties such as power and frequency.

Parameters
namestr

Name of the newly created laser.

Pfloat, optional

Power of the laser (in Watts), defaults to 1 W.

ffloat or Frequency, optional

Frequency-offset of the laser from the default (in Hz) or Frequency object. Defaults to 0 Hz offset.

phasefloat, optional

Phase-offset of the laser from the default, defaults to zero.

signals_onlybool, optional

When True, this laser component will only inject signal sidebands. They will use the current carrier value as a scaling terms but the carrier will not be injected into the simulation. This allows a user to just inject signal sidebands into a model.

Attributes
add_gouy_phasebool

When set to True the gouy phase of the current beam parameters values at the laser will be added to the optical field outputs during the simulation. When False, it will not. This can be used with set_output_field() to force a particular optical field output from a laser.

Properties

Laser.power_coeffs

The relative power factors and phase offsets for each HGnm mode.

Methods

Laser.__init__(name[, P, f, phase, signals_only])

Laser.get_output_field(homs)

Get optical field outputted as a HOM vector.

Laser.optical_equations()

Laser.set_output_field(E, homs)

Set optical field outputted using HOM vector.

Laser.source_equation(node, f)

Returns optical carrier field to inject for a simulation.

Laser.tem(n, m, factor[, phase])

Distributes power into the mode HGnm.