ubcpdk.cells.taper

Contents

ubcpdk.cells.taper#

ubcpdk.cells.taper(length=10.0, width1=0.5, width2=None, cross_section='strip')[source]#

Linear taper, which tapers only the main cross section section.

Parameters:
  • length (float) – taper length.

  • width1 (float) – width of the west/left port.

  • width2 (float | None) – width of the east/right port. Defaults to width1.

  • cross_section (CrossSection | str | dict[str, Any] | Callable[[...], CrossSection] | SymmetricalCrossSection | DCrossSection) – specification (CrossSection, string, CrossSectionFactory dict).

Return type:

Component