finesse.components.node.OpticalNode

Overview

class finesse.components.node.OpticalNode(name, port, direction)[source]

Bases: Node

Represents a specific optical port connection at a component.

OpticalNodes also have additional physical properties such as the beam parameter (of type BeamParam) at the nodes’ position within the interferometer.

Parameters
namestr

Name of the optical node.

portPort

The port that this node belongs to.

directionNodeDirection

True if the field at this node is going into the component.

Properties

OpticalNode.opposite

The opposite direction node.

OpticalNode.q

Beam parameter value at this node.

OpticalNode.qx

Beam parameter value in the tangential plane.

OpticalNode.qy

Beam parameter value in the sagittal plane.

OpticalNode.space

A reference to the Space object attached to this node.

Methods

OpticalNode.__init__(name, port, direction)

OpticalNode.get_opposite_direction(node)

Returns the opposite direction of a node from either a Node object or a full string name qualifier for a node, component.port.direction l1.p1.o.