WgDirectCrossing
- class picazzo3.wg.crossing.cell.WgDirectCrossing
A Direct waveguide crossing, consisting of two identical waveguides at right angles. This design is not particularly efficient for high-contrast waveguides, but is OK for low-contrast waveguides (e.g. silica.)
- Parameters:
- waveguides: List with type restriction, allowed types: <class ‘ipkiss3.pcell.cell.pcell.PCell’>
the waveguides through the crossing
- trace_template: PCell and _WaveguideTemplate
Trace template used to define the crossing
- name: String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters
The unique name of the pcell
Views
- class Layout
- Parameters:
- straight_stub: float and number > 0
length of the straight sections of the crossing
- length: float and number > 0
- view_name: String that contains only alphanumeric characters from the ASCII set or contains _$. ASCII set is extended on PY3.
The name of the view
Examples
import si_fab.all as pdk # noqa: F401 from ipkiss3 import all as i3 from picazzo3.wg.crossing import WgDirectCrossing from picazzo3.traces.wire_wg.trace import WireWaveguideTemplate wg_t = WireWaveguideTemplate(name="my_crossing_wg_template1") wg_t.Layout(core_width=0.550, cladding_width=2 * 2.0 + 0.550, core_process=i3.TECH.PROCESS.WG) C = WgDirectCrossing(name="my_direct_crossing", trace_template=wg_t) layout = C.Layout() layout.visualize(annotate=True)