Stencils

linear_taper(length, widths)

Create a linear taper.

mmi(length, width, num_ports, port_length, ...)

Create an MxN MMI.

grating(period, num_periods, width[, ...])

Create a linear grating.

focused_grating(wavelength, period, n_sin, ...)

Create a focused grating.

cross(length, widths)

Create an equal-armed cross.

ruler(unit, minor_marker_length, marker_width)

Create a ruler.

vernier_scale(unit, marker_length, marker_width)

Create a Vernier scale.

Utilities

as_component(*, layer, stencil[, technology])

Create a parametric component from a stencil.