Connector
- class ipkiss3.all.Connector
Base class for connectors.
A connector allows to connect two ports according to a predefined algorithm. Create a new connector by inheriting from this class and implementing the
_connect
method.Note
The ports must have the same domain (optical or electrical).
Note
Intermedate ports must have a unique name assigned to them.
- classmethod connect(start_port, end_port, name=None, **properties)
Connect start_port to end_port.
- Parameters:
- start_porti3.OpticalPort / i3.ElectricalPort
Starting port for the connection.
- end_porti3.OpticalPort / i3.ElectricalPort
Ending port for the connection.
- namestr
Name for the connection. If None, IPKISS chooses a unique name based on PCell naming conventions.
- Returns:
- Instance of i3.PCell