diff --git a/pyproject.toml b/pyproject.toml index 083cbfb4..70d7da3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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 = "\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]] diff --git a/tests/ref/add_electrical_pads_top_dc_c0e05349.gds b/tests/ref/add_electrical_pads_top_dc_c0e05349.gds new file mode 100644 index 00000000..ba8f9f47 Binary files /dev/null and b/tests/ref/add_electrical_pads_top_dc_c0e05349.gds differ diff --git a/tests/ref/add_fiber_array_pads_rf.gds b/tests/ref/add_fiber_array_pads_rf.gds index b2057a82..46c36318 100644 Binary files a/tests/ref/add_fiber_array_pads_rf.gds and b/tests/ref/add_fiber_array_pads_rf.gds differ diff --git a/tests/ref/bend_s.gds b/tests/ref/bend_s.gds new file mode 100644 index 00000000..1a5c5c67 Binary files /dev/null and b/tests/ref/bend_s.gds differ diff --git a/tests/ref/coupler_ring_84558c9a.gds b/tests/ref/coupler_ring_84558c9a.gds new file mode 100644 index 00000000..5382b205 Binary files /dev/null and b/tests/ref/coupler_ring_84558c9a.gds differ diff --git a/tests/ref/dbr_cavity_add_fiber_array_2e3389fa_add_fiber_array_37b25c57.gds b/tests/ref/dbr_cavity_add_fiber_array_2e3389fa_add_fiber_array_37b25c57.gds index 5ecef3cb..86ddf7fc 100644 Binary files a/tests/ref/dbr_cavity_add_fiber_array_2e3389fa_add_fiber_array_37b25c57.gds and b/tests/ref/dbr_cavity_add_fiber_array_2e3389fa_add_fiber_array_37b25c57.gds differ diff --git a/tests/ref/gc_te1310.gds b/tests/ref/gc_te1310.gds new file mode 100644 index 00000000..8f90f063 Binary files /dev/null and b/tests/ref/gc_te1310.gds differ diff --git a/tests/ref/gc_te1310_8deg.gds b/tests/ref/gc_te1310_8deg.gds new file mode 100644 index 00000000..7b6fd553 Binary files /dev/null and b/tests/ref/gc_te1310_8deg.gds differ diff --git a/tests/ref/gc_te1310_broadband.gds b/tests/ref/gc_te1310_broadband.gds new file mode 100644 index 00000000..5bf89339 Binary files /dev/null and b/tests/ref/gc_te1310_broadband.gds differ diff --git a/tests/ref/gc_te1550.gds b/tests/ref/gc_te1550.gds new file mode 100644 index 00000000..e11481db Binary files /dev/null and b/tests/ref/gc_te1550.gds differ diff --git a/tests/ref/gc_te1550_90nmSlab.gds b/tests/ref/gc_te1550_90nmSlab.gds new file mode 100644 index 00000000..c313236d Binary files /dev/null and b/tests/ref/gc_te1550_90nmSlab.gds differ diff --git a/tests/ref/gc_te1550_broadband.gds b/tests/ref/gc_te1550_broadband.gds new file mode 100644 index 00000000..8a2a84ae Binary files /dev/null and b/tests/ref/gc_te1550_broadband.gds differ diff --git a/tests/ref/gc_tm1550.gds b/tests/ref/gc_tm1550.gds new file mode 100644 index 00000000..7977dfde Binary files /dev/null and b/tests/ref/gc_tm1550.gds differ diff --git a/tests/ref/mmi1x2_0482171d.gds b/tests/ref/mmi1x2_0482171d.gds new file mode 100644 index 00000000..d2a8565d Binary files /dev/null and b/tests/ref/mmi1x2_0482171d.gds differ diff --git a/tests/ref/ring_double_f3bc5804.gds b/tests/ref/ring_double_f3bc5804.gds new file mode 100644 index 00000000..2163d535 Binary files /dev/null and b/tests/ref/ring_double_f3bc5804.gds differ diff --git a/tests/ref/ring_double_heater_3978285c.gds b/tests/ref/ring_double_heater_3978285c.gds new file mode 100644 index 00000000..c4f9605d Binary files /dev/null and b/tests/ref/ring_double_heater_3978285c.gds differ diff --git a/tests/ref/ring_single_1e0aa082.gds b/tests/ref/ring_single_1e0aa082.gds new file mode 100644 index 00000000..0e494ec6 Binary files /dev/null and b/tests/ref/ring_single_1e0aa082.gds differ diff --git a/tests/ref/ring_single_dut_4cfcc769.gds b/tests/ref/ring_single_dut_4cfcc769.gds new file mode 100644 index 00000000..88d9eee8 Binary files /dev/null and b/tests/ref/ring_single_dut_4cfcc769.gds differ diff --git a/tests/ref/ring_single_heater_e488dd8d.gds b/tests/ref/ring_single_heater_e488dd8d.gds new file mode 100644 index 00000000..d47d51b7 Binary files /dev/null and b/tests/ref/ring_single_heater_e488dd8d.gds differ diff --git a/tests/ref/ring_single_heater_e488dd8d_add_electrical_pads_top_c0e05349.gds b/tests/ref/ring_single_heater_e488dd8d_add_electrical_pads_top_c0e05349.gds new file mode 100644 index 00000000..ff57fabb Binary files /dev/null and b/tests/ref/ring_single_heater_e488dd8d_add_electrical_pads_top_c0e05349.gds differ diff --git a/tests/ref/straight_8c41fd35_add_fiber_array_3c7e0cfe_add_fiber_array.gds b/tests/ref/straight_8c41fd35_add_fiber_array_3c7e0cfe_add_fiber_array.gds index 42bbf61b..977e9f72 100644 Binary files a/tests/ref/straight_8c41fd35_add_fiber_array_3c7e0cfe_add_fiber_array.gds and b/tests/ref/straight_8c41fd35_add_fiber_array_3c7e0cfe_add_fiber_array.gds differ diff --git a/tests/test_components/test_pdk_settings_add_pads_dc_.yml b/tests/test_components/test_pdk_settings_add_pads_dc_.yml index 8d0c5c55..673136d3 100644 --- a/tests/test_components/test_pdk_settings_add_pads_dc_.yml +++ b/tests/test_components/test_pdk_settings_add_pads_dc_.yml @@ -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 @@ -55,6 +55,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -85,6 +87,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -146,7 +150,7 @@ settings: layers: - HEATER - M2 - - M3 + - MTOP size: - 4 - 4 @@ -191,6 +195,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -221,6 +227,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -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 @@ -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 diff --git a/tests/test_components/test_pdk_settings_add_pads_rf_.yml b/tests/test_components/test_pdk_settings_add_pads_rf_.yml index 517e09d6..a01122ec 100644 --- a/tests/test_components/test_pdk_settings_add_pads_rf_.yml +++ b/tests/test_components/test_pdk_settings_add_pads_rf_.yml @@ -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 @@ -55,6 +55,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -85,6 +87,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -146,7 +150,7 @@ settings: layers: - HEATER - M2 - - M3 + - MTOP size: - 4 - 4 @@ -191,6 +195,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -221,6 +227,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -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 @@ -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 diff --git a/tests/test_components/test_pdk_settings_bend_s_.yml b/tests/test_components/test_pdk_settings_bend_s_.yml index 2cafa28c..672884b4 100644 --- a/tests/test_components/test_pdk_settings_bend_s_.yml +++ b/tests/test_components/test_pdk_settings_bend_s_.yml @@ -1,4 +1,4 @@ -name: bezier_9d5ee62f_bend_s +name: bend_s settings: changed: {} child: @@ -83,4 +83,4 @@ settings: start_angle: 0 info_version: 2 module: gdsfactory.components.bend_s - name: bezier_9d5ee62f_bend_s + name: bend_s diff --git a/tests/test_components/test_pdk_settings_coupler_ring_.yml b/tests/test_components/test_pdk_settings_coupler_ring_.yml index cf0ed8fa..ff0c097d 100644 --- a/tests/test_components/test_pdk_settings_coupler_ring_.yml +++ b/tests/test_components/test_pdk_settings_coupler_ring_.yml @@ -1,4 +1,4 @@ -name: coupler_ring_50d59624 +name: coupler_ring_84558c9a settings: changed: add_bbox: @@ -22,6 +22,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -76,6 +78,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -96,4 +100,4 @@ settings: info: {} info_version: 2 module: gdsfactory.components.coupler_ring - name: coupler_ring_50d59624 + name: coupler_ring_84558c9a diff --git a/tests/test_components/test_pdk_settings_dbr_cavity_.yml b/tests/test_components/test_pdk_settings_dbr_cavity_.yml index 644c1854..9056872d 100644 --- a/tests/test_components/test_pdk_settings_dbr_cavity_.yml +++ b/tests/test_components/test_pdk_settings_dbr_cavity_.yml @@ -25,6 +25,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -63,6 +65,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 diff --git a/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml b/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml index f6f6a4bd..85d066aa 100644 --- a/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml +++ b/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml @@ -62,6 +62,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -100,6 +102,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 diff --git a/tests/test_components/test_pdk_settings_gc_te1310_.yml b/tests/test_components/test_pdk_settings_gc_te1310_.yml index d8a081bf..bedfeb0d 100644 --- a/tests/test_components/test_pdk_settings_gc_te1310_.yml +++ b/tests/test_components/test_pdk_settings_gc_te1310_.yml @@ -1,4 +1,4 @@ -name: mirror_b611a4d8_gc_te1310 +name: gc_te1310 settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.31 info_version: 2 module: ubcpdk.components - name: mirror_b611a4d8_gc_te1310 + name: gc_te1310 diff --git a/tests/test_components/test_pdk_settings_gc_te1310_8deg_.yml b/tests/test_components/test_pdk_settings_gc_te1310_8deg_.yml index 99784c09..349bca7d 100644 --- a/tests/test_components/test_pdk_settings_gc_te1310_8deg_.yml +++ b/tests/test_components/test_pdk_settings_gc_te1310_8deg_.yml @@ -1,4 +1,4 @@ -name: mirror_58e2a10b_gc_te1310_8deg +name: gc_te1310_8deg settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.31 info_version: 2 module: ubcpdk.components - name: mirror_58e2a10b_gc_te1310_8deg + name: gc_te1310_8deg diff --git a/tests/test_components/test_pdk_settings_gc_te1310_broadband_.yml b/tests/test_components/test_pdk_settings_gc_te1310_broadband_.yml index ed82fde5..c8ab2a22 100644 --- a/tests/test_components/test_pdk_settings_gc_te1310_broadband_.yml +++ b/tests/test_components/test_pdk_settings_gc_te1310_broadband_.yml @@ -1,4 +1,4 @@ -name: mirror_cd7472ae_gc_te1310_broadband +name: gc_te1310_broadband settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.31 info_version: 2 module: ubcpdk.components - name: mirror_cd7472ae_gc_te1310_broadband + name: gc_te1310_broadband diff --git a/tests/test_components/test_pdk_settings_gc_te1550_.yml b/tests/test_components/test_pdk_settings_gc_te1550_.yml index 55231c5b..9dd2d0d9 100644 --- a/tests/test_components/test_pdk_settings_gc_te1550_.yml +++ b/tests/test_components/test_pdk_settings_gc_te1550_.yml @@ -1,4 +1,4 @@ -name: mirror_948d7eaf_gc_te1550 +name: gc_te1550 settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.55 info_version: 2 module: ubcpdk.components - name: mirror_948d7eaf_gc_te1550 + name: gc_te1550 diff --git a/tests/test_components/test_pdk_settings_gc_te1550_90nmSlab_.yml b/tests/test_components/test_pdk_settings_gc_te1550_90nmSlab_.yml index 017c3a5b..6293a972 100644 --- a/tests/test_components/test_pdk_settings_gc_te1550_90nmSlab_.yml +++ b/tests/test_components/test_pdk_settings_gc_te1550_90nmSlab_.yml @@ -1,4 +1,4 @@ -name: mirror_d2cc2b58_gc_te1550_90nmSlab +name: gc_te1550_90nmSlab settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.55 info_version: 2 module: ubcpdk.components - name: mirror_d2cc2b58_gc_te1550_90nmSlab + name: gc_te1550_90nmSlab diff --git a/tests/test_components/test_pdk_settings_gc_te1550_broadband_.yml b/tests/test_components/test_pdk_settings_gc_te1550_broadband_.yml index fc75dcca..2ff54b30 100644 --- a/tests/test_components/test_pdk_settings_gc_te1550_broadband_.yml +++ b/tests/test_components/test_pdk_settings_gc_te1550_broadband_.yml @@ -1,4 +1,4 @@ -name: mirror_a38c0f84_gc_te1550_broadband +name: gc_te1550_broadband settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.55 info_version: 2 module: ubcpdk.components - name: mirror_a38c0f84_gc_te1550_broadband + name: gc_te1550_broadband diff --git a/tests/test_components/test_pdk_settings_gc_tm1550_.yml b/tests/test_components/test_pdk_settings_gc_tm1550_.yml index 0686b0bd..bba9d66e 100644 --- a/tests/test_components/test_pdk_settings_gc_tm1550_.yml +++ b/tests/test_components/test_pdk_settings_gc_tm1550_.yml @@ -1,4 +1,4 @@ -name: mirror_355ecc08_gc_tm1550 +name: gc_tm1550 settings: changed: {} child: @@ -43,4 +43,4 @@ settings: wavelength: 1.55 info_version: 2 module: ubcpdk.components - name: mirror_355ecc08_gc_tm1550 + name: gc_tm1550 diff --git a/tests/test_components/test_pdk_settings_mmi1x2_.yml b/tests/test_components/test_pdk_settings_mmi1x2_.yml index af317705..15469961 100644 --- a/tests/test_components/test_pdk_settings_mmi1x2_.yml +++ b/tests/test_components/test_pdk_settings_mmi1x2_.yml @@ -1,4 +1,4 @@ -name: mmi1x2_5126ce0c +name: mmi1x2_0482171d settings: changed: cross_section: @@ -20,6 +20,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -28,6 +29,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -67,6 +69,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -75,6 +78,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -95,4 +99,4 @@ settings: info: {} info_version: 2 module: gdsfactory.components.mmi1x2 - name: mmi1x2_5126ce0c + name: mmi1x2_0482171d diff --git a/tests/test_components/test_pdk_settings_ring_double_.yml b/tests/test_components/test_pdk_settings_ring_double_.yml index 4c229268..27398c31 100644 --- a/tests/test_components/test_pdk_settings_ring_double_.yml +++ b/tests/test_components/test_pdk_settings_ring_double_.yml @@ -1,4 +1,4 @@ -name: ring_double_1628c13a +name: ring_double_f3bc5804 settings: changed: coupler_ring: @@ -25,6 +25,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -55,6 +57,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -63,6 +66,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -120,6 +124,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -128,6 +133,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -150,6 +156,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -158,6 +165,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -183,4 +191,4 @@ settings: info: {} info_version: 2 module: gdsfactory.components.ring_double - name: ring_double_1628c13a + name: ring_double_f3bc5804 diff --git a/tests/test_components/test_pdk_settings_ring_double_heater_.yml b/tests/test_components/test_pdk_settings_ring_double_heater_.yml index b3ea8816..5650c092 100644 --- a/tests/test_components/test_pdk_settings_ring_double_heater_.yml +++ b/tests/test_components/test_pdk_settings_ring_double_heater_.yml @@ -1,4 +1,4 @@ -name: ring_double_heater_13f0172f +name: ring_double_heater_3978285c settings: changed: coupler_ring: @@ -25,6 +25,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -55,6 +57,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -63,6 +66,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -120,7 +124,7 @@ settings: layers: - HEATER - M2 - - M3 + - MTOP size: - 4 - 4 @@ -163,6 +167,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -171,6 +176,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -194,6 +200,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -202,6 +209,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -249,4 +257,4 @@ settings: info: {} info_version: 2 module: gdsfactory.components.ring_double_heater - name: ring_double_heater_13f0172f + name: ring_double_heater_3978285c diff --git a/tests/test_components/test_pdk_settings_ring_single_.yml b/tests/test_components/test_pdk_settings_ring_single_.yml index 5c52ea44..37c86cc8 100644 --- a/tests/test_components/test_pdk_settings_ring_single_.yml +++ b/tests/test_components/test_pdk_settings_ring_single_.yml @@ -1,4 +1,4 @@ -name: ring_single_68329927 +name: ring_single_1e0aa082 settings: changed: bend: @@ -27,6 +27,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -35,6 +36,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -57,6 +59,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -65,6 +68,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -127,6 +131,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -135,6 +140,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -157,6 +163,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -165,6 +172,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -190,4 +198,4 @@ settings: info: {} info_version: 2 module: gdsfactory.components.ring_single - name: ring_single_68329927 + name: ring_single_1e0aa082 diff --git a/tests/test_components/test_pdk_settings_ring_single_heater_.yml b/tests/test_components/test_pdk_settings_ring_single_heater_.yml index dafa57f0..950f62a2 100644 --- a/tests/test_components/test_pdk_settings_ring_single_heater_.yml +++ b/tests/test_components/test_pdk_settings_ring_single_heater_.yml @@ -1,4 +1,4 @@ -name: ring_single_heater_60c28d4a +name: ring_single_heater_e488dd8d settings: changed: coupler_ring: @@ -25,6 +25,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -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 @@ -55,6 +57,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -63,6 +66,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -116,7 +120,7 @@ settings: layers: - HEATER - M2 - - M3 + - MTOP size: - 4 - 4 @@ -161,6 +165,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -169,6 +174,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -191,6 +197,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -199,6 +206,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -242,4 +250,4 @@ settings: info: {} info_version: 2 module: gdsfactory.components.ring_single_heater - name: ring_single_heater_60c28d4a + name: ring_single_heater_e488dd8d diff --git a/tests/test_components/test_pdk_settings_ring_with_crossing_.yml b/tests/test_components/test_pdk_settings_ring_with_crossing_.yml index 85033629..02e98719 100644 --- a/tests/test_components/test_pdk_settings_ring_with_crossing_.yml +++ b/tests/test_components/test_pdk_settings_ring_with_crossing_.yml @@ -1,4 +1,4 @@ -name: ring_single_dut_7aeb906a +name: ring_single_dut_4cfcc769 settings: changed: bend: @@ -29,6 +29,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -37,6 +38,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -102,6 +104,7 @@ settings: layer: WG name: _default offset: 0.0 + offset_function: null port_names: - o1 - o2 @@ -110,6 +113,7 @@ settings: - optical simplify: null width: 0.5 + width_function: null start_straight_length: 0.01 taper_length: 10.0 width_wide: null @@ -138,4 +142,4 @@ settings: component: {} info_version: 2 module: gdsfactory.components.ring_single_dut - name: ring_single_dut_7aeb906a + name: ring_single_dut_4cfcc769 diff --git a/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml b/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml index d7cdf023..0615536a 100644 --- a/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml +++ b/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml @@ -20,7 +20,7 @@ settings: layers: - M1 - M2 - - M3 + - MTOP size: - 11.0 - 11.0 diff --git a/ubcpdk/components.py b/ubcpdk/components.py index 5ab117a9..fa83ef48 100644 --- a/ubcpdk/components.py +++ b/ubcpdk/components.py @@ -440,7 +440,7 @@ def get_input_label_text( name = component_name or port.parent.metadata_child.get("name") name = clean_name(name) # return f"opt_{polarization.upper()}_{int(wavelength * 1000.0)}_device_{username}-{name}-{gc_index}-{port.name}" - return f"opt_{polarization.upper()}_{int(wavelength * 1000.0)}_device_{username}-{name}" + return f"opt_in_{polarization.upper()}_{int(wavelength * 1000.0)}_device_{username}-{name}" def get_input_labels( @@ -481,7 +481,7 @@ def get_input_labels( return [label] -@gf.cell +@gf.cell_with_child def add_fiber_array( component: ComponentSpec = straight, component_name: Optional[str] = None, diff --git a/ubcpdk/samples/test_rings.py b/ubcpdk/samples/test_rings.py index 6e7f756c..e4f381c0 100644 --- a/ubcpdk/samples/test_rings.py +++ b/ubcpdk/samples/test_rings.py @@ -16,7 +16,7 @@ @gf.cell -def EBeam_JoaquinMatres_1() -> pathlib.Path: +def EBeam_YourUserName_ring_double10() -> pathlib.Path: gaps = [100, 150, 200] radiuses = [10] @@ -34,7 +34,7 @@ def EBeam_JoaquinMatres_1() -> pathlib.Path: @gf.cell -def EBeam_JoaquinMatres_2() -> pathlib.Path: +def EBeam_YourUserName_ring_double30() -> pathlib.Path: gaps = [150, 200, 250] radiuses = [30] rings = [ @@ -52,7 +52,7 @@ def EBeam_JoaquinMatres_2() -> pathlib.Path: @gf.cell -def EBeam_JoaquinMatres_3() -> pathlib.Path: +def EBeam_YourUserName_ring_double3() -> pathlib.Path: gaps = [100, 150] radiuses = [3] rings = [ @@ -70,5 +70,6 @@ def EBeam_JoaquinMatres_3() -> pathlib.Path: if __name__ == "__main__": - c = EBeam_JoaquinMatres_3() + c = EBeam_YourUserName_ring_double3() + c.write_gds("extra/EBeam_YourUserName_ring_double3.gds") c.show()