finesse.components.node.Port¶
Overview
- class finesse.components.node.Port(name, component, node_type)[source]¶
- Bases: - Freezable- A collection of all the nodes at a specific point/surface of a component. 
Properties
| Component that the port is attached to. | |
| The component which has ownership of this port. | |
| 
 | |
| Flag indicating whether the port is attached to another component. | |
| Name of the port object. | |
| Nodes associated with the port. | |
| If the port is an Optical port, this will return a symbolic value for the refractive index at this port. | |
| Space that the port is attached to. | |
| 
 | 
Methods
| 
 | Constructs a new instance of Freezable and freezes it. | 
| 
 | Returns the unique node at this port that satisfies the provided predicate. | 
| 
 | Get a node at this port by its name. |