ubcpdk.components.straight#
- ubcpdk.components.straight(length: float = 10.0, npoints: int = 2, cross_section: Callable[[...], CrossSection] | CrossSection | dict[str, Any] | str | Transition = 'strip', **kwargs) Component [source]#
Returns a Straight waveguide.
- Parameters:
length – straight length (um).
npoints – number of points.
cross_section – specification (CrossSection, string or dict).
kwargs – additional cross_section arguments.
o1 -------------- o2 length