Join¶
- class ipkiss3.all.Join¶
Join instances together. Either two strings (‘inst1:port1’, ‘inst2:port2’), or a list of tuples of the form [(‘inst1:port1’, ‘inst2:port2’), (…, …)].
Instance name and port names are string-based.
This specification does not support ports that have undefined port angles (most electrical ports), use PlaceRelative instead.
Examples
>>> i3.Join('grating:out', 'waveguide:in') >>> i3.Join([('grating:out', 'waveguide:in'), >>> ('waveguide:out', 'grating2:out')])