text stringlengths 10 968k | id stringlengths 14 122 | metadata dict | __index_level_0__ int64 0 242 |
|---|---|---|---|
connections: {}
instances:
mirror_1:
component: mirror
info:
library: Design kits/ebeam
model: ebeam_gc_te1550_broadband
settings:
component:
function: import_gds
module: ubcpdk.import_gds
settings:
gdspath: ebeam_gc_te1550_broadband.gds
p1:
- 0
- 1
p2:
- 0
- 0
name: gc_te1550_broadband
placements:
mirror_1:
mirror: 0
rotation: 0
x: 0.0
y: 0.0
ports:
o1: mirror_1,o1
| ubc/tests/test_netlists/test_netlists_gc_te1550_broadband_.yml/0 | {
"file_path": "ubc/tests/test_netlists/test_netlists_gc_te1550_broadband_.yml",
"repo_id": "ubc",
"token_count": 263
} | 172 |
connections: {}
instances:
component_sequence_1:
component: component_sequence
info: {}
settings:
port_name1: o1
port_name2: o2
ports_map: null
sequence: _-UHUHUHUHUHUHUHUH-_
start_orientation: 0.0
symbol_to_component:
'-':
- function: straight
module: ubcpdk.components
settings:
cross_section: xs_sc_heater_metal
length: 15.9
npoints: 2
- o1
- o2
H:
- function: straight
module: gdsfactory.components.straight
settings:
cross_section: xs_sc_heater_metal
length: 6.0
npoints: 2
- o1
- o2
U:
- function: straight
module: gdsfactory.components.straight
settings:
cross_section: xs_sc_heater_metal
length: 30.0
npoints: 2
- o1
- o2
_:
- function: straight
module: gdsfactory.components.straight
settings:
cross_section: xs_sc
length: 0.1
npoints: 2
- o1
- o2
taper_1:
component: taper
info:
length: 5.0
width1: 10.0
width2: 4.0
settings:
cross_section:
bbox_layers: null
bbox_offsets: null
components_along_path: []
radius: null
radius_min: 5.0
sections:
- hidden: false
insets: null
layer:
- 11
- 0
name: _default
offset: 0.0
offset_function: null
port_names:
- e1
- e2
port_types:
- electrical
- electrical
simplify: null
width: 4.0
width_function: null
length: 5.0
port: null
port_order_name:
- o1
- o2
port_order_types:
- optical
- optical
width1: 10.0
width2: 4.0
with_two_ports: true
taper_2:
component: taper
info:
length: 5.0
width1: 10.0
width2: 4.0
settings:
cross_section:
bbox_layers: null
bbox_offsets: null
components_along_path: []
radius: null
radius_min: 5.0
sections:
- hidden: false
insets: null
layer:
- 11
- 0
name: _default
offset: 0.0
offset_function: null
port_names:
- e1
- e2
port_types:
- electrical
- electrical
simplify: null
width: 4.0
width_function: null
length: 5.0
port: null
port_order_name:
- o1
- o2
port_order_types:
- optical
- optical
width1: 10.0
width2: 4.0
with_two_ports: true
via_stack_1:
component: via_stack
info:
layer:
- 12
- 0
size:
- 10
- 10
xsize: 10
ysize: 10
settings:
correct_size: true
layer_offsets: null
layer_port: null
layers:
- - 11
- 0
- - 12
- 0
size:
- 10
- 10
slot_horizontal: false
slot_vertical: false
vias:
- null
- null
via_stack_2:
component: via_stack
info:
layer:
- 12
- 0
size:
- 10
- 10
xsize: 10
ysize: 10
settings:
correct_size: true
layer_offsets: null
layer_port: null
layers:
- - 11
- 0
- - 12
- 0
size:
- 10
- 10
slot_horizontal: false
slot_vertical: false
vias:
- null
- null
name: straight_heater_metal_undercut_with_undercutFalse
placements:
component_sequence_1:
mirror: 0
rotation: 0
x: 0.0
y: 0.0
taper_1:
mirror: 0
rotation: 0
x: -4.905
y: 0.0
taper_2:
mirror: 0
rotation: 180
x: 324.905
y: 0.0
via_stack_1:
mirror: 0
rotation: 0
x: -9.905
y: 0.0
via_stack_2:
mirror: 0
rotation: 0
x: 329.905
y: 0.0
ports:
l_e1: via_stack_1,e1
l_e2: via_stack_1,e2
l_e3: via_stack_1,e3
l_e4: via_stack_1,e4
o1: component_sequence_1,o1
o2: component_sequence_1,o2
r_e1: via_stack_2,e1
r_e2: via_stack_2,e2
r_e3: via_stack_2,e3
r_e4: via_stack_2,e4
warnings:
optical:
unconnected_ports:
- message: 4 unconnected optical ports!
ports:
- taper_1,o1
- taper_1,o2
- taper_2,o1
- taper_2,o2
values:
- - -4.905
- 0.0
- - 0.095
- 0.0
- - 324.905
- 0.0
- - 319.905
- 0.0
| ubc/tests/test_netlists/test_netlists_straight_heater_metal_.yml/0 | {
"file_path": "ubc/tests/test_netlists/test_netlists_straight_heater_metal_.yml",
"repo_id": "ubc",
"token_count": 2720
} | 173 |
# Bragg Gratings
Design objective:
- Determine the grating strength coupling parameter (kagdsfactory., ∆n, or bandwidth) versus the corrugation width (∆w), and compare rectangular versus sinusoidal gratings.
- Compare experimental data with the simulation data (3D-FDTD Bloch agdsfactory.oach).
- Update the CML model based on this data.
Design:
- Measure the reflectivity spectrum (only). This only requires two grating couplers. Removing the 3rd grating coupler that was previously used to measure the transmission eliminates a source of back-reflection (-20 dB). Instead of the 3rd grating coupler, we use a terminator (-30 dB back reflection).
- Make the layout very compact, particularly the gratings themselves, so that we minimize the manufacturing variability. Namely, we want the central wavelength to be as similar as possible.
- For each layout block, we have 24 gratings, connected to 24 pairs of grating couplers. The grating couplers are interlaced to minimize space.
- Check for a wide range of ∆W to look for saturation and nonlinearity (as shown by James Pond’s simulation). Also check a narrow range to look for mask quantization errors.
- Parameter range, set 1-2:
- ∆W = [5, 10, 20:20:200 nm] (total 12)
- type = [rectangular, sinusoidal]
- N = [200, 400] (number of gratings)
- Parameter range, set 4:
- ∆W = [20:1:31] (total 12)
- type = [rectangular, sinusoidal]
- N = [200] (number of gratings)
The three layouts are as follows:
- ELEC413_lukasc_A.gds
- N = 200, set 1
- ELEC413_lukasc_B.gds
- N = 400, set 2
- ELEC413_lukasc_D.gds
- N = 200, set 4
Each contains 24 gratings, connected in reflection mode using a 2x2 splitter.
Sets 1, 2:
# Set 1
Design # | ∆w | Type
1 | 5 | rectangular
2 | 200 | sinusoidal
3 | 10 | rectangular
4 | 180 | sinusoidal
5 | 20 | rectangular
6 | 160 | sinusoidal
7 | 40 | rectangular
8 | 140 | sinusoidal
9 | 60 | rectangular
10 | 120 | sinusoidal
11 | 80 | rectangular
12 | 100 | sinusoidal
13 | 100 | rectangular
14 | 80 | sinusoidal
15 | 120 | rectangular
16 | 60 | sinusoidal
17 | 140 | rectangular
18 | 40 | sinusoidal
19 | 160 | rectangular
20 | 20 | sinusoidal
21 | 180 | rectangular
22 | 10 | sinusoidal
23 | 200 | rectangular
24 | 5 | sinusoidal
Set 4:
Design #| ∆w| Type
1 | 20 | rectangular
2 | 31 | sinusoidal
3 | 21 | rectangular
4 | 30 | sinusoidal
5 | 22 | rectangular
6 | 20 | sinusoidal
7 | 23 | rectangular
8 | 28 | sinusoidal
9 | 24 | rectangular
10 | 27 | sinusoidal
11 | 25 | rectangular
12 | 26 | sinusoidal
13 | 26 | rectangular
14 | 25 | sinusoidal
15 | 27 | rectangular
16 | 24 | sinusoidal
17 | 28 | rectangular
18 | 23 | sinusoidal
19 | 29 | rectangular
20 | 22 | sinusoidal
21 | 30 | rectangular
22 | 21 | sinusoidal
23 | 31 | rectangular
24 | 20 | sinusoidal
| ubc/ubcpdk/data/dbr.md/0 | {
"file_path": "ubc/ubcpdk/data/dbr.md",
"repo_id": "ubc",
"token_count": 909
} | 174 |
<?xml version="1.0" encoding="utf-8"?>
<layer-properties>
<properties>
<frame-color>#ff9d9d</frame-color>
<fill-color>#ff9d9d</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I2</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>Waveguide 1/0</name>
<source>1/0@1</source>
</properties>
<properties>
<frame-color>#ff9d9d</frame-color>
<fill-color>#ff9d9d</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I2</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>Waveguide2 31/0</name>
<source>31/0@1</source>
</properties>
<properties>
<frame-color>#00ffff</frame-color>
<fill-color>#00ffff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I3</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>true</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>SLAB150 2/0</name>
<source>2/0@1</source>
</properties>
<properties>
<frame-color>#ebc634</frame-color>
<fill-color>#ebc634</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I1</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>M1_HEATER 11/0</name>
<source>11/0@1</source>
</properties>
<properties>
<frame-color>#008080</frame-color>
<fill-color>#800057</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I2</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>M2_ROUTER 12/0</name>
<source>12/0@1</source>
</properties>
<properties>
<frame-color>#000000</frame-color>
<fill-color>#000000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I1</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>M_Open 13/0</name>
<source>13/0@1</source>
</properties>
<properties>
<frame-color>#ff8000</frame-color>
<fill-color>#ff8000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>true</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>MH 47/0</name>
<source>47/0@1</source>
</properties>
<properties>
<frame-color>#9999cc</frame-color>
<fill-color>#9999cc</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I4</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>DEEPTRENCH 4/0</name>
<source>4/0@1</source>
</properties>
<properties>
<frame-color>#000000</frame-color>
<fill-color>#000000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>OXIDE_ETCH 6/0</name>
<source>6/0@1</source>
</properties>
<properties>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>TEXT 10/0</name>
<source>10/0@1</source>
</properties>
<properties>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>true</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>TE 203/0</name>
<source>203/0@1</source>
</properties>
<properties>
<frame-color>#ff0000</frame-color>
<fill-color>#ff0000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>TM 204/0</name>
<source>204/0@1</source>
</properties>
<properties>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>LABEL_INSTANCES 206/0</name>
<source>206/0@1</source>
</properties>
<properties>
<frame-color>#000000</frame-color>
<fill-color>#000000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I1</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>FLOORPLAN 99/0</name>
<source>99/0@1</source>
</properties>
<properties>
<frame-color>#800057</frame-color>
<fill-color>#800057</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>3</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>Lumerical</name>
<source>733/0@1</source>
</properties>
<properties>
<frame-color>#004080</frame-color>
<fill-color>#004080</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I1</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>true</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>DevRec</name>
<source>68/0@1</source>
</properties>
<properties>
<frame-color>#404040</frame-color>
<fill-color>#404040</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>PinRec</name>
<source>1/10@1</source>
</properties>
<properties>
<frame-color>#004080</frame-color>
<fill-color>#004080</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>2</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>FbrTgt</name>
<source>81/0@1</source>
</properties>
<properties>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>Text</name>
<source>66/0@1</source>
</properties>
<properties>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>Errors</name>
<source>69/0@1</source>
</properties>
<properties>
<frame-color>#004080</frame-color>
<fill-color>#004080</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>PinRecM</name>
<source>1/11@1</source>
</properties>
<properties>
<frame-color/>
<fill-color/>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XSECTION</name>
<source>*/*@*</source>
<group-members>
<frame-color>#f3ff80</frame-color>
<fill-color>#f3ff80</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_BOX 300/0</name>
<source>300/0@1</source>
</group-members>
<group-members>
<frame-color>#000000</frame-color>
<fill-color>#000000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_SI 301/0</name>
<source>301/0@1</source>
</group-members>
<group-members>
<frame-color>#000000</frame-color>
<fill-color>#000000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_SIN 319/0</name>
<source>319/0@1</source>
</group-members>
<group-members>
<frame-color>#008ca5</frame-color>
<fill-color>#008ca5</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_N 320/0</name>
<source>320/0@1</source>
</group-members>
<group-members>
<frame-color>#004ca5</frame-color>
<fill-color>#004ca5</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_NPP 321/0</name>
<source>321/0@1</source>
</group-members>
<group-members>
<frame-color>#00f233</frame-color>
<fill-color>#00f233</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_P 330/0</name>
<source>330/0@1</source>
</group-members>
<group-members>
<frame-color>#00f233</frame-color>
<fill-color>#00f233</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_PDPP 327/0</name>
<source>327/0@1</source>
</group-members>
<group-members>
<frame-color>#00b233</frame-color>
<fill-color>#00b233</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I0</dither-pattern>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_PPP 331/0</name>
<source>331/0@1</source>
</group-members>
<group-members>
<frame-color>#80a8ff</frame-color>
<fill-color>#80a8ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_SI_SLAB 313/0</name>
<source>313/0@1</source>
</group-members>
<group-members>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_OVERLAY 311/0</name>
<source>311/0@1</source>
</group-members>
<group-members>
<frame-color>#f3ff80</frame-color>
<fill-color>#f3ff80</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_OX_SI 302/0</name>
<source>302/0@1</source>
</group-members>
<group-members>
<frame-color>#004ca5</frame-color>
<fill-color>#004ca5</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_GE 315/0</name>
<source>315/0@1</source>
</group-members>
<group-members>
<frame-color>#808080</frame-color>
<fill-color>#808080</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_VIAC 303/0</name>
<source>303/0@1</source>
</group-members>
<group-members>
<frame-color>#008000</frame-color>
<fill-color>#008000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_M1 304/0</name>
<source>304/0@1</source>
</group-members>
<group-members>
<frame-color>#f3ff80</frame-color>
<fill-color>#f3ff80</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_OXIDE_M1 305/0</name>
<source>305/0@1</source>
</group-members>
<group-members>
<frame-color>#008000</frame-color>
<fill-color>#008000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_MH 306/0</name>
<source>306/0@1</source>
</group-members>
<group-members>
<frame-color>#f3ff80</frame-color>
<fill-color>#f3ff80</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_OXIDE_M2 307/0</name>
<source>307/0@1</source>
</group-members>
<group-members>
<frame-color>#f3ff80</frame-color>
<fill-color>#f3ff80</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_OXIDE_MH 317/0</name>
<source>317/0@1</source>
</group-members>
<group-members>
<frame-color>#f3ff80</frame-color>
<fill-color>#f3ff80</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_OXIDE_ML 309/0</name>
<source>309/0@1</source>
</group-members>
<group-members>
<frame-color>#805000</frame-color>
<fill-color>#805000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_M2 399/0</name>
<source>399/0@1</source>
</group-members>
<group-members>
<frame-color>#808080</frame-color>
<fill-color>#808080</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_VIA2 310/0</name>
<source>310/0@1</source>
</group-members>
<group-members>
<frame-color>#805000</frame-color>
<fill-color>#805000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width>1</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>XS_SIN2 305/0</name>
<source>305/0@1</source>
</group-members>
</properties>
<properties>
<frame-color>#ff0000</frame-color>
<fill-color>#ff0000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>true</transparent>
<width>3</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>DRC_MARKER 205/0</name>
<source>205/0@1</source>
</properties>
<properties>
<frame-color>#ff0000</frame-color>
<fill-color>#ff0000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>true</transparent>
<width>3</width>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>ERROR_MARKER 207/0</name>
<source>207/0@1</source>
</properties>
<properties>
<frame-color>#ff80a8</frame-color>
<fill-color>#ff80a8</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>SHOW_PORTS 1/12</name>
<source>1/12@1</source>
</properties>
<properties>
<frame-color/>
<fill-color/>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>simulation</name>
<source>*/*@*</source>
<group-members>
<frame-color>#000000</frame-color>
<fill-color>#000000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>SIM_REGION 100/0</name>
<source>100/0@1</source>
</group-members>
<group-members>
<frame-color>#0000ff</frame-color>
<fill-color>#0000ff</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>MONITOR 101/0</name>
<source>101/0@1</source>
</group-members>
<group-members>
<frame-color>#ff0000</frame-color>
<fill-color>#ff0000</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern/>
<line-style/>
<valid>true</valid>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<xfill>false</xfill>
<animation>0</animation>
<name>SOURCE 110/0</name>
<source>110/0@1</source>
</group-members>
</properties>
</layer-properties>
| ubc/ubcpdk/klayout/tech/layers.lyp/0 | {
"file_path": "ubc/ubcpdk/klayout/tech/layers.lyp",
"repo_id": "ubc",
"token_count": 9830
} | 175 |
<layer_builder>
<layer_group_name>silicon</layer_group_name>
<background_geometry x_span="0.0001" z="0" x="0" y="0" y_span="0.0001"/>
<gds_ref_frame y_gds_center="0" x_gds_center="0" gds_pos_ind="0"/>
<layers>
<layer pattern_material="Si (Silicon) - Palik" pattern_material_index="0" sidewall_angle="90" layer_name="1:0" thickness="2.2e-07" material_index="0" start_position="0" start_position_auto="1" process="Grow" material="SiO2 (Glass) - Palik" name="Si" enabled="1"/>
</layers>
</layer_builder>
| ubc/ubcpdk/simulation/lumerical/lumerical_process_file.lbr/0 | {
"file_path": "ubc/ubcpdk/simulation/lumerical/lumerical_process_file.lbr",
"repo_id": "ubc",
"token_count": 223
} | 176 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.0001 7V8H8.00012V14H7.00012V8H1.00012V7H7.00012V1H8.00012V7H14.0001Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/add.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/add.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 108
} | 177 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.02388 5.92809L3.66657 10.2854L3.04785 9.66668L7.71452 5.00001L8.33324 5.00001L12.9999 9.66668L12.3812 10.2854L8.02388 5.92809Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/chevron-up.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/chevron-up.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 147
} | 178 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.708 5.578L2.061 8.224L4.708 10.87L4 11.578L1 8.578V7.87L4 4.87L4.708 5.578ZM11.708 4.87L11 5.578L13.647 8.224L11 10.87L11.708 11.578L14.708 8.578V7.87L11.708 4.87ZM4.908 13L5.802 13.448L10.802 3.448L9.908 3L4.908 13Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/code.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/code.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 193
} | 179 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.2376 7.99988L9.9282 11.9999H5.3094L3 7.99988L5.3094 3.99988H9.9282L12.2376 7.99988Z" fill="#E51400"/>
</svg>
| vscode-gdsfactory/resources/dark/debug-breakpoint-data.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/debug-breakpoint-data.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 110
} | 180 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 2V13.8199L13 7.88L4 2ZM5.5 4.81995L10.3101 7.88L5.5 11V4.81995Z" fill="#89D185"/>
</svg>
| vscode-gdsfactory/resources/dark/debug-start.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/debug-start.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 102
} | 181 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 7L10 8L5 8L5 7L10 7Z" fill="#C5C5C5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 1H13.5L14 1.5V13.5L13.5 14H1.5L1 13.5V1.5L1.5 1ZM2 13H13V2H2V13Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/diff-removed.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/diff-removed.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 160
} | 182 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.85 2.65002L13.35 1.15002L13 1H4.47998L3.97998 1.5V4H1.5L1 4.5V14.5L1.5 15H11.5L12 14.5V12H14.5L15 11.5V3L14.85 2.65002ZM11 14H2V5H3V8.06995H9V5H9.79004L11 6.20996V14ZM6 7V5H8V7H6ZM14 11H12V6L11.85 5.65002L10.35 4.15002L10 4H5V2H12.8101L14.02 3.20996L14 11Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/save-all.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/save-all.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 235
} | 183 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 6H12V7H4V6ZM12 9H4V10H12V9Z" fill="#C5C5C5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 4L2 3H14L15 4V12L14 13H2L1 12V4ZM2 4V12H14V4H2Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/symbol-constant.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/symbol-constant.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 164
} | 184 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 1L3 2V14L4 15H12L13 14V2L12 1H4ZM4 3V2H12V14H4V13H6V12H4V10H8V9H4V7H6V6H4V4H8V3H4Z" fill="#C5C5C5"/>
</svg>
| vscode-gdsfactory/resources/dark/symbol-ruler.svg/0 | {
"file_path": "vscode-gdsfactory/resources/dark/symbol-ruler.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 143
} | 185 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.92834 7.97603L10.2856 12.3333L9.66693 12.9521L5.00026 8.28539V7.66667L9.66693 3L10.2856 3.61872L5.92834 7.97603Z" fill="#424242"/>
</svg>
| vscode-gdsfactory/resources/light/chevron-left.svg/0 | {
"file_path": "vscode-gdsfactory/resources/light/chevron-left.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 138
} | 186 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 7.4L1.7 8.1L7.7 2.1L13.7 8.1L14.4 7.4L8.1 1H7.4L1 7.4ZM1 13.4L1.7 14.1L7.7 8.1L13.7 14.1L14.4 13.4L8.1 7H7.4L1 13.4Z" fill="#424242"/>
</svg>
| vscode-gdsfactory/resources/light/fold-up.svg/0 | {
"file_path": "vscode-gdsfactory/resources/light/fold-up.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 153
} | 187 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.0002 3V4H2.00024V3H14.0002Z" fill="#424242"/>
<path d="M13.0002 6V7H6.00024V6H13.0002Z" fill="#424242"/>
<path d="M13.0002 9V10H5.00024V9H13.0002Z" fill="#424242"/>
<path d="M13.0002 12V13H5.00024V12H13.0002Z" fill="#424242"/>
<rect x="5.00024" y="4" width="1" height="9" fill="#424242"/>
</svg>
| vscode-gdsfactory/resources/light/list-tree.svg/0 | {
"file_path": "vscode-gdsfactory/resources/light/list-tree.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 193
} | 188 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.00024 2V14.4805L12.9149 8.24024L4.00024 2ZM11.1812 8.24024L4.99524 12.5684V3.91209L11.1812 8.24024Z" fill="#424242"/>
</svg>
| vscode-gdsfactory/resources/light/run.svg/0 | {
"file_path": "vscode-gdsfactory/resources/light/run.svg",
"repo_id": "vscode-gdsfactory",
"token_count": 132
} | 189 |
{
"title": "conda metadata build recipe",
"description": "conda's meta.yaml file; https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html",
"id": "https://raw.githubusercontent.com/Microsoft/vscode-python/master/schemas/conda-meta.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"boolean": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string"
}
]
},
"integer": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"feature": {
"type": "string"
},
"package": {
"type": "string"
},
"path": {
"type": "string"
},
"uri": {
"type": "string"
},
"requirement": {
"type": "object",
"properties": {
"build": {
"type": "array",
"items": {
"$ref": "#/definitions/package"
}
},
"host": {
"type": "array",
"items": {
"$ref": "#/definitions/package"
}
},
"run": {
"type": "array",
"items": {
"$ref": "#/definitions/package"
}
}
}
},
"source": {
"type": "object",
"properties": {
"url": {
"$ref": "#/definitions/uri"
},
"md5": {
"type": "string",
"pattern": "^[0-9A-Fa-f]{32}$"
},
"sha1": {
"type": "string",
"pattern": "^[0-9A-Fa-f]{40}$"
},
"sha256": {
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$"
},
"git_url": {
"$ref": "#/definitions/uri"
},
"git_rev": {
"type": "string"
},
"hg_url": {
"$ref": "#/definitions/uri"
},
"hg_tag": {
"type": "string"
},
"svn_url": {
"$ref": "#/definitions/uri"
},
"svn_rev": {
"type": "string"
},
"svn_ignore_externals": {
"$ref": "#/definitions/boolean"
},
"path": {
"$ref": "#/definitions/path"
},
"patches": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"folder": {
"$ref": "#/definitions/path"
},
"fn": {
"type": "string"
}
}
},
"test": {
"type": "object",
"properties": {
"files": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"source_files": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"requires": {
"type": "array",
"items": {
"$ref": "#/definitions/package"
}
},
"commands": {
"type": "array",
"items": {
"type": "string"
}
},
"imports": {
"type": "array",
"items": {
"$ref": "#/definitions/package"
}
},
"script": {
"type": "string"
}
}
}
},
"properties": {
"package": {
"type": "object",
"properties": {
"name": {
"$ref": "#/definitions/package"
},
"version": {
"type": "string"
}
}
},
"source": {
"oneOf": [
{
"$ref": "#/definitions/source"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/source"
}
}
]
},
"build": {
"type": "object",
"properties": {
"number": {
"$ref": "#/definitions/integer"
},
"string": {
"type": "string"
},
"entry_points": {
"type": "array",
"items": {
"type": "string"
}
},
"osx_is_app": {
"$ref": "#/definitions/boolean"
},
"features": {
"type": "array",
"items": {
"$ref": "#/definitions/feature"
}
},
"track_features": {
"type": "array",
"items": {
"$ref": "#/definitions/feature"
}
},
"preserve_egg_dir": {
"$ref": "#/definitions/boolean"
},
"skip_compile_pyc": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"no_link": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"script": {
"type": "string"
},
"rpaths": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"always_include_files": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"binary_relocation": {
"$ref": "#/definitions/boolean"
},
"detect_binary_files_with_prefix": {
"$ref": "#/definitions/boolean"
},
"binary_has_prefix_files": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"has_prefix_files": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"ignore_prefix_files": {
"oneOf": [
{
"$ref": "#/definitions/boolean"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
}
]
},
"skip": {
"$ref": "#/definitions/boolean"
},
"noarch": {
"type": "string"
},
"noarch_python": {
"$ref": "#/definitions/boolean"
},
"include_recipe": {
"$ref": "#/definitions/boolean"
},
"script_env": {
"type": "array",
"items": {
"type": "string"
}
},
"run_exports": {
"type": "array",
"items": {
"type": "string"
}
},
"ignore_run_exports": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"requirements": {
"$ref": "#/definitions/requirement"
},
"test": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/test"
}
]
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"files": {
"type": "array",
"items": {
"$ref": "#/definitions/path"
}
},
"script": {
"$ref": "#/definitions/path"
},
"script_interpreter": {
"type": "string"
},
"requirements": {
"oneOf": [
{
"$ref": "#/definitions/requirement"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/package"
}
}
]
},
"run_exports": {
"type": "array",
"items": {
"type": "string"
}
},
"test": {
"$ref": "#/definitions/test"
},
"type": {
"type": "string"
}
}
}
},
"about": {
"type": "object",
"properties": {
"home": {
"$ref": "#/definitions/uri"
},
"license": {
"type": "string"
},
"license_file": {
"$ref": "#/definitions/path"
},
"summary": {
"type": "string"
}
}
},
"app": {
"type": "object",
"properties": {
"entry": {
"type": "string"
},
"icon": {
"$ref": "#/definitions/path"
},
"summary": {
"type": "string"
},
"own_environment": {
"$ref": "#/definitions/boolean"
}
}
},
"extra": {}
}
}
| vscode-gdsfactory/schemas/conda-meta.json/0 | {
"file_path": "vscode-gdsfactory/schemas/conda-meta.json",
"repo_id": "vscode-gdsfactory",
"token_count": 5356
} | 190 |
import gdsfactory as gf
from gdsfactory.component import Component
from gdsfactory.components.taper_cross_section import taper_cross_section
from gdsfactory.cross_section import (
CrossSection,
LayerSpec,
Section,
cross_section,
)
from gvtt.xsections import rib, strip
def xs_rib_strip(
width: float = 3.0,
width_trench: float = 10.0,
width_deep: float = 10.75,
dist_deep: float = 3.0,
wg_marking_layer: LayerSpec | None = None,
**kwargs,
) -> CrossSection:
"""Return CrossSection of strip waveguide defined by trenches."""
sections = kwargs.pop("sections", [])
sections += [
Section(width=width, layer="WG_RIBS_SUB", name="WG", simplify=None),
Section(
width=2.0 * width_trench + width,
layer="WG_RIBS_ADD",
name="trench",
simplify=None,
),
Section(
width=width + 2.0 * (dist_deep + width_deep),
layer="WG_MOST_ADD",
name="trench_deep",
simplify=None,
),
Section(
width=width + 2.0 * dist_deep,
layer="WG_MOST_SUB",
name="trench_cut",
simplify=None,
),
]
return cross_section(
width=width,
layer=wg_marking_layer,
sections=tuple(sections),
port_names=("o1", "o2"),
**kwargs,
)
@gf.cell
def rib_to_strip(
length=200.0,
width1=3.0,
width2=3.0,
) -> Component:
"""
Standard rib-to-strip waveguide converter.
"""
c = gf.Component()
rib_strip_1 = xs_rib_strip(width=3.0, width_deep=0.5) # rib end
rib_strip_2 = xs_rib_strip(width=3.0, dist_deep=-0.25) # strip end
cn = c << gf.components.taper_cross_section(
cross_section1=rib_strip_1,
cross_section2=rib_strip_2,
linear=True,
length=length,
)
c.absorb(cn)
c.info["length"] = length
if width1 != 3.0:
t1 = c << rib_taper(width1, 3.0)
t1.connect("o2", cn.ports["o1"])
c.add_port("o1", port=t1.ports["o1"])
c.info["length"] += t1.info["length"]
c.absorb(t1)
else:
c.add_port("o1", port=cn.ports["o1"])
if width2 != 3.0:
t2 = c << strip_taper(3.0, width2)
t2.connect("o1", cn.ports["o2"])
c.add_port("o2", port=t2.ports["o2"])
c.info["length"] += t2.info["length"]
c.absorb(t2)
else:
c.add_port("o2", port=cn.ports["o2"])
c.info["width1"] = float(width1)
c.info["width2"] = float(width2)
return c
@gf.cell
def strip_taper(
width1=1,
width2=1,
taper_ratio=25.0,
length: float | None = None,
**kwargs,
) -> Component:
"""
Standard rib-to-strip waveguide converter.
"""
length = length or abs(width1 - width2) * taper_ratio or 10e-3
kwargs.pop("cross_section", None)
c = gf.Component()
ref = c << taper_cross_section(
cross_section1=strip(width1),
cross_section2=strip(width2),
linear=True,
npoints=2,
)
c.info["length"] = length
c.info["width1"] = float(width1)
c.info["width2"] = float(width2)
c.add_ports(ref.ports)
c.absorb(ref)
return c
@gf.cell
def rib_taper(
width1=1,
width2=1,
taper_ratio=50.0,
length: float | None = None,
**kwargs,
) -> Component:
"""
Standard rib-to-strip waveguide converter.
"""
length = length or abs(width1 - width2) * taper_ratio or 10e-3
c = gf.Component()
ref = c << taper_cross_section(
cross_section1=rib(width1),
cross_section2=rib(width2),
length=length,
linear=True,
npoints=2,
**kwargs,
)
c.info["length"] = length
c.info["width1"] = float(width1)
c.info["width2"] = float(width2)
c.add_ports(ref.ports)
c.absorb(ref)
return c
if __name__ == "__main__":
c = rib_taper()
# c = strip_taper()
# c.pprint_ports()
c.show()
| vtt/gvtt/components/transitions.py/0 | {
"file_path": "vtt/gvtt/components/transitions.py",
"repo_id": "vtt",
"token_count": 1978
} | 191 |
name: strip_taper
ports:
o1:
center:
- 0.0
- 0.0
layer:
- 89
- 1
name: o1
orientation: 180.0
port_type: optical
shear_angle: null
width: 1.0
o2:
center:
- 10.0
- 0.0
layer:
- 89
- 1
name: o2
orientation: 0.0
port_type: optical
shear_angle: null
width: 1.0
settings:
changed: {}
child: null
default:
length: null
taper_ratio: 25.0
width1: 1
width2: 1
full:
length: null
taper_ratio: 25.0
width1: 1
width2: 1
function_name: strip_taper
info:
length: 0.01
width1: 1.0
width2: 1.0
info_version: 2
module: gvtt.components.transitions
name: strip_taper
| vtt/tests/test_components/test_pdk_settings_strip_taper_.yml/0 | {
"file_path": "vtt/tests/test_components/test_pdk_settings_strip_taper_.yml",
"repo_id": "vtt",
"token_count": 354
} | 192 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.