finesse.components.laser.Laser
¶
Overview
- class finesse.components.laser.Laser(name, P=1, f=0, phase=0, signals_only=False)[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
The relative power factors and phase offsets for each HGnm mode. |
Methods
|
|
|
Get optical field outputted as a HOM vector. |
|
Set optical field outputted using HOM vector. |
|
Distributes power into the mode HGnm. |