finesse.components.node.OpticalNode.get_opposite_direction

static OpticalNode.get_opposite_direction(node)[source]

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.

Parameters
node[str | Node]

Node to invert