finesse.components.space.Space
¶
Overview
- class finesse.components.space.Space(name, portA=None, portB=None, L=0.0, nr=1.0, user_gouy_x=None, user_gouy_y=None)[source]¶
Bases:
Connector
Represents a space between two components in the interferometer configuration, with a given length and index of refraction.
There can be many spaces in a model which are not of much interest and do not need to be referred to. For example, the
link
command will create spaces between components without giving an explicit name, just specifying a distance between them.All Space elements are added to the Model’s
.spaces
namespace so they can all easily be iterated over. You can also find spaces which had no name specified and thus have an autogenerated name. User specified Space’s with names will be put in the main Model namespace so that they can be accessed like any other element in the model.- Parameters:
- namestr, optional
Name of newly created space. If not specified, a name is automatically generated.
- portA, portB
Port
, optional Ports to connect.
- Lfloat, optional
Geometric length of newly created
Space
instance; defaults to 0.- nrfloat, optional
Index of refraction of newly created
Space
instance; defaults to 1.0.- user_gouy_x, user_gouy_yfloat, optional
User-defined gouy phase to override the calculated value.
Properties
Numeric ABCD matrix. |
|
Methods
|
|
|
Returns the ABCD matrix of the space for the specified coupling. |
|
Sets the ports of this Space. |
|
Computes the Gouy phase in degrees from beam parameters. |