ubcpdk.components.add_pins_bbox_siepic

ubcpdk.components.add_pins_bbox_siepic#

ubcpdk.components.add_pins_bbox_siepic(component: ~gdsfactory.component.Component, function: ~collections.abc.Callable = <function add_pin_path>, port_type: str = 'optical', layer_pin: tuple[int, int] = (1, 10), pin_length: float = 0.01, bbox_layer: tuple[int, int] = (68, 0), padding: float = 0, remove_layers: bool = False) Component[source]#

Add bounding box device recognition layer.

Parameters:
  • component – to add pins.

  • function – to add pins.

  • port_type – optical, electrical…

  • layer_pin – for pin.

  • pin_length – in um.

  • bbox_layer – bounding box layer.

  • padding – around device.

  • remove_layers – removes old layers.