Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Oct 28, 2023
1 parent 69969cc commit a11b19f
Show file tree
Hide file tree
Showing 43 changed files with 119 additions and 50 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers = [
"Operating System :: OS Independent"
]
dependencies = [
"gdsfactory[cad]==7.8.10",
"gdsfactory[cad]==7.8.12",
"gplugins[tidy3d,sax,schematic]>=0.8.4,<0.9.0"
]
description = "ubcpdk pdk"
Expand Down Expand Up @@ -159,11 +159,11 @@ regex = '''
[tool.towncrier]
directory = ".changelog.d"
filename = "CHANGELOG.md"
issue_format = "[#{issue}](https://github.com/gdsfactory/gdsfactory/issues/{issue})"
issue_format = "[#{issue}](https://github.com/gdsfactory/ubc/issues/{issue})"
package = "gdsfactory"
start_string = "<!-- towncrier release notes start -->\n"
template = ".changelog.d/changelog_template.jinja"
title_format = "## [{version}](https://github.com/gdsfactory/gdsfactory/releases/tag/v{version}) - {project_date}"
title_format = "## [{version}](https://github.com/gdsfactory/ubc/releases/tag/v{version}) - {project_date}"
underlines = ["", "", ""]

[[tool.towncrier.type]]
Expand Down
Binary file not shown.
Binary file modified tests/ref/add_fiber_array_pads_rf.gds
Binary file not shown.
Binary file added tests/ref/bend_s.gds
Binary file not shown.
Binary file added tests/ref/coupler_ring_84558c9a.gds
Binary file not shown.
Binary file not shown.
Binary file added tests/ref/gc_te1310.gds
Binary file not shown.
Binary file added tests/ref/gc_te1310_8deg.gds
Binary file not shown.
Binary file added tests/ref/gc_te1310_broadband.gds
Binary file not shown.
Binary file added tests/ref/gc_te1550.gds
Binary file not shown.
Binary file added tests/ref/gc_te1550_90nmSlab.gds
Binary file not shown.
Binary file added tests/ref/gc_te1550_broadband.gds
Binary file not shown.
Binary file added tests/ref/gc_tm1550.gds
Binary file not shown.
Binary file added tests/ref/mmi1x2_0482171d.gds
Binary file not shown.
Binary file added tests/ref/ring_double_f3bc5804.gds
Binary file not shown.
Binary file added tests/ref/ring_double_heater_3978285c.gds
Binary file not shown.
Binary file added tests/ref/ring_single_1e0aa082.gds
Binary file not shown.
Binary file added tests/ref/ring_single_dut_4cfcc769.gds
Binary file not shown.
Binary file added tests/ref/ring_single_heater_e488dd8d.gds
Binary file not shown.
Binary file not shown.
Binary file not shown.
16 changes: 12 additions & 4 deletions tests/test_components/test_pdk_settings_add_pads_dc_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ring_single_heater_60c28d4a_add_electrical_pads_top_dc_c0e05349
name: add_electrical_pads_top_dc_c0e05349
settings:
changed:
component: ring_single_heater
Expand Down Expand Up @@ -55,6 +55,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -63,6 +64,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -85,6 +87,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -93,6 +96,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -146,7 +150,7 @@ settings:
layers:
- HEATER
- M2
- M3
- MTOP
size:
- 4
- 4
Expand Down Expand Up @@ -191,6 +195,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -199,6 +204,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -221,6 +227,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -229,6 +236,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -272,7 +280,7 @@ settings:
info: {}
info_version: 2
module: gdsfactory.components.ring_single_heater
name: ring_single_heater_60c28d4a
name: ring_single_heater_e488dd8d
default:
component:
function: straight
Expand Down Expand Up @@ -341,4 +349,4 @@ settings:
info: {}
info_version: 2
module: gdsfactory.routing.add_electrical_pads_top_dc
name: ring_single_heater_60c28d4a_add_electrical_pads_top_dc_c0e05349
name: add_electrical_pads_top_dc_c0e05349
16 changes: 12 additions & 4 deletions tests/test_components/test_pdk_settings_add_pads_rf_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ring_single_heater_60c28d4a_add_electrical_pads_top_c0e05349
name: ring_single_heater_e488dd8d_add_electrical_pads_top_c0e05349
settings:
changed:
component: ring_single_heater
Expand Down Expand Up @@ -55,6 +55,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -63,6 +64,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -85,6 +87,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -93,6 +96,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -146,7 +150,7 @@ settings:
layers:
- HEATER
- M2
- M3
- MTOP
size:
- 4
- 4
Expand Down Expand Up @@ -191,6 +195,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -199,6 +204,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -221,6 +227,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -229,6 +236,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -272,7 +280,7 @@ settings:
info: {}
info_version: 2
module: gdsfactory.components.ring_single_heater
name: ring_single_heater_60c28d4a
name: ring_single_heater_e488dd8d
default:
component:
function: straight
Expand Down Expand Up @@ -334,4 +342,4 @@ settings:
info: {}
info_version: 2
module: gdsfactory.routing.add_electrical_pads_top
name: ring_single_heater_60c28d4a_add_electrical_pads_top_c0e05349
name: ring_single_heater_e488dd8d_add_electrical_pads_top_c0e05349
4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_bend_s_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: bezier_9d5ee62f_bend_s
name: bend_s
settings:
changed: {}
child:
Expand Down Expand Up @@ -83,4 +83,4 @@ settings:
start_angle: 0
info_version: 2
module: gdsfactory.components.bend_s
name: bezier_9d5ee62f_bend_s
name: bend_s
8 changes: 6 additions & 2 deletions tests/test_components/test_pdk_settings_coupler_ring_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: coupler_ring_50d59624
name: coupler_ring_84558c9a
settings:
changed:
add_bbox:
Expand All @@ -22,6 +22,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -30,6 +31,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -76,6 +78,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -84,6 +87,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -96,4 +100,4 @@ settings:
info: {}
info_version: 2
module: gdsfactory.components.coupler_ring
name: coupler_ring_50d59624
name: coupler_ring_84558c9a
4 changes: 4 additions & 0 deletions tests/test_components/test_pdk_settings_dbr_cavity_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -33,6 +34,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -63,6 +65,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -71,6 +74,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down
4 changes: 4 additions & 0 deletions tests/test_components/test_pdk_settings_dbr_cavity_te_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -70,6 +71,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -100,6 +102,7 @@ settings:
layer: WG
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -108,6 +111,7 @@ settings:
- optical
simplify: null
width: 0.5
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down
4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_gc_te1310_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mirror_b611a4d8_gc_te1310
name: gc_te1310
settings:
changed: {}
child:
Expand Down Expand Up @@ -43,4 +43,4 @@ settings:
wavelength: 1.31
info_version: 2
module: ubcpdk.components
name: mirror_b611a4d8_gc_te1310
name: gc_te1310
4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_gc_te1310_8deg_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mirror_58e2a10b_gc_te1310_8deg
name: gc_te1310_8deg
settings:
changed: {}
child:
Expand Down Expand Up @@ -43,4 +43,4 @@ settings:
wavelength: 1.31
info_version: 2
module: ubcpdk.components
name: mirror_58e2a10b_gc_te1310_8deg
name: gc_te1310_8deg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mirror_cd7472ae_gc_te1310_broadband
name: gc_te1310_broadband
settings:
changed: {}
child:
Expand Down Expand Up @@ -43,4 +43,4 @@ settings:
wavelength: 1.31
info_version: 2
module: ubcpdk.components
name: mirror_cd7472ae_gc_te1310_broadband
name: gc_te1310_broadband
4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_gc_te1550_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mirror_948d7eaf_gc_te1550
name: gc_te1550
settings:
changed: {}
child:
Expand Down Expand Up @@ -43,4 +43,4 @@ settings:
wavelength: 1.55
info_version: 2
module: ubcpdk.components
name: mirror_948d7eaf_gc_te1550
name: gc_te1550
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mirror_d2cc2b58_gc_te1550_90nmSlab
name: gc_te1550_90nmSlab
settings:
changed: {}
child:
Expand Down Expand Up @@ -43,4 +43,4 @@ settings:
wavelength: 1.55
info_version: 2
module: ubcpdk.components
name: mirror_d2cc2b58_gc_te1550_90nmSlab
name: gc_te1550_90nmSlab
Loading

0 comments on commit a11b19f

Please sign in to comment.