class picazzo3.wg.dircoup.cell.StraightDirectionalCoupler(*args, **kwargs)

A directional coupler consisting of 2 parallel (horizontal) straight waveguides.


trace_template1: PCell and _WaveguideTemplate, optional

waveguide template used by the south arm of the directional coupler

trace_template2: PCell and _WaveguideTemplate, optional

waveguide template used by the north arm of the directional coupler. If not set, it defaults to the template of the south arm

wg1a: PCell, optional

South-west waveguide

wg1b: PCell, optional

South-east waveguide

wg2a: PCell, optional

North-west waveguide

wg2b: PCell, optional

North-east waveguide

coupler_length: float and Real, number and number >= 0, optional

length of the directional coupler

cell_instances: _PCellInstanceDict, optional

name: optional

The unique name of the pcell

n_inputs: int and number > 0, locked

Number of input channels.

n_outputs: int and number > 0, locked

Number of output channels.



straight_extensions: Coord2, optional

additional lengths of the couplers at start and end

view_name: str, optional

The name of the view

coupler_spacing: float, optional

Spacing between the two waveguide centerlines.

wg1a_shape: Shape, optional

Shape for the south-west part of the waveguide

wg1b_shape: Shape, optional

Shape for the south-east part of the waveguide

wg2a_shape: Shape, optional

Shape for the north-west part of the waveguide

wg2b_shape: Shape, optional

Shape for the north-east part of the waveguide

grids_per_unit: locked

Number of grid cells per design unit

units_per_grid: locked

Ratio of grid cell and design unit

grid: float and number > 0, locked

design grid. Extracted by default from TECH.METRICS.GRID

unit: float and number > 0, locked

design unit. Extracted by default from TECH.METRICS.UNIT


from technologies import silicon_photonics
from ipkiss3 import all as i3
from picazzo3.wg.dircoup import StraightDirectionalCoupler
from picazzo3.traces.wire_wg.trace import WireWaveguideTemplate

wg_t = WireWaveguideTemplate(name="my_wg_template1")

C = StraightDirectionalCoupler(name="my_dircoup1",
layout = C.Layout(coupler_spacing=0.7)