finesse.simulations.workspace.ABCDWorkspace

Overview

class finesse.simulations.workspace.ABCDWorkspace(BaseSimulation sim, owner, values=None)

Bases: ElementWorkspace

This class represents a workspace for ABCD matrix calculations in Finesse simulations. It inherits from the ElementWorkspace class.

Attributes
simBaseSimulation

The BaseSimulation object associated with the workspace.

ownerobject

The owner object of the workspace.

valuesobject, optional

Additional values associated with the workspace.

Methods

set_gouy_function(callback)

Sets the callback function for computing the gouy phase terms.

compile_abcd_cy_exprs()

Compiles the ABCD matrix expressions for the workspace.

flag_changing_beam_parameters(changing_edges)

Called when the workspace should check if changing beam parameters will affect this workspace’s calculations.

update_map_data()

Called when the workspace should update any map data

Methods

ABCDWorkspace.__init__(*args, **kwargs)

ABCDWorkspace.compile_abcd_cy_exprs(self)

Compiles the ABCD matrix expressions for the workspace.

ABCDWorkspace.flag_changing_beam_parameters(...)

Flags changing beam parameters for the workspace.

ABCDWorkspace.set_gouy_function(self, callback)

Sets the callback function that will be used by the model to compute the gouy phase terms for an element.

ABCDWorkspace.update_map_data(self)

Signals that a workspace should update any data held in maps it is using.