Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Jul 15, 2024
1 parent c54ccea commit 9cdcb81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
20 changes: 2 additions & 18 deletions docs/notebooks/12_sim_plugins_tidy3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"circuit, _ = sax.circuit(\n",
" netlist=netlist,\n",
" models={\n",
" \"bend_euler_sc\": bend_euler,\n",
" \"bend_euler\": bend_euler,\n",
" \"ebeam_y_1550\": ebeam_y_1550,\n",
" \"straight\": straight,\n",
" },\n",
Expand Down Expand Up @@ -208,7 +208,7 @@
"circuit, _ = sax.circuit(\n",
" netlist=netlist,\n",
" models={\n",
" \"bend_euler_sc\": bend_euler,\n",
" \"bend_euler\": bend_euler,\n",
" \"ebeam_y_1550\": ebeam_y_1550,\n",
" \"straight\": straight,\n",
" },\n",
Expand All @@ -232,22 +232,6 @@
"plt.grid(True)\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "17",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "18",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
10 changes: 2 additions & 8 deletions docs/notebooks/14_sax_tidy3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
"outputs": [],
"source": [
"netlist = mzi.get_netlist()\n",
"pprint(netlist[\"connections\"])"
"pprint(netlist[\"nets\"])"
]
},
{
Expand Down Expand Up @@ -631,7 +631,7 @@
"metadata": {},
"outputs": [],
"source": [
"mzi_yaml = mzi_component.get_netlist_yaml()\n",
"mzi_yaml = mzi_component.get_netlist()\n",
"mzi_component2 = gf.read.from_yaml(mzi_yaml)\n",
"fig = mzi_component2.plot()"
]
Expand Down Expand Up @@ -830,12 +830,6 @@
"source": [
"As you can see two couplers have more broadband response"
]
},
{
"cell_type": "markdown",
"id": "53",
"metadata": {},
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 9cdcb81

Please sign in to comment.