ExtendPorts¶
- class picazzo3.container.extend_ports.ExtendPorts(*args, **kwargs)¶
Extends all the ports listed in
port_labels
with a waveguide of a given length.This length is specified in
extension_length
of the Layout View.A common trace template for all ports is specified through
trace_template
. When this is set to None (the default), the trace templates of the ports of the contents will be used.- Parameters
- trace_template: ( PCell and _WaveguideTemplate ), *None allowed*
Template for all ports. If None, the trace templates of the ports will be used
- waveguides: List with type restriction, allowed types: <class ‘ipkiss3.pcell.cell.pcell.PCell’>
waveguides added to the contents
- auto_transition: ( bool, bool_, bool or int )
If True, automatically transition all ports of contents to the given trace template. If False, no transitions are applied, which might lead to a discontinuity in the waveguide. Also, if trace_template is None, no transitions are applied.
- port_labels: ( List with type restriction, allowed types: <class ‘str’> ), *None allowed*
Labels of the ports to be processed. Set to None to process all ports.
- contents: PCell
the contents of the container: the child cell
- external_port_names: str
Dictionary for remapping of the port names of the contents to the external ports
- name: String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters
The unique name of the pcell
- Other Parameters
- trace_templates: List with type restriction, allowed types: <class ‘ipkiss3.pcell.cell.pcell.PCell’>, locked
list of templates to apply to all ports
- bundle: ( PCell ), locked, *None allowed*
bundle of waveguides added to the contents, generated based on the supplied waveguides list
Views
- Layout = <class 'picazzo3.container.extend_ports.cell.ExtendPorts.Layout'>¶