Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Oct 21, 2023
1 parent b000c05 commit 6738c1b
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 5 deletions.
14 changes: 13 additions & 1 deletion docs/notebooks/11_sparameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"outputs": [],
"source": [
"for f in [\n",
" pdk.bend_euler,\n",
" pdk.bend,\n",
" pdk.coupler,\n",
" pdk.coupler_ring,\n",
" pdk.ebeam_y_1550,\n",
Expand Down Expand Up @@ -177,6 +177,18 @@
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
20 changes: 20 additions & 0 deletions docs/notebooks/11_sparameters_gratings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@
"source": [
"help(gt.write_sparameters_grating_coupler)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "285f61c1",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -163,6 +171,18 @@
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
28 changes: 24 additions & 4 deletions docs/notebooks/12_sim_plugins_tidy3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"metadata": {},
"outputs": [],
"source": [
"mzi10 = gf.components.mzi(splitter=c, delta_length=10)\n",
"mzi10 = pdk.mzi(splitter=c, delta_length=10)\n",
"mzi10.plot()"
]
},
Expand Down Expand Up @@ -161,7 +161,7 @@
"circuit, _ = sax.circuit(\n",
" netlist=netlist,\n",
" models={\n",
" \"bend_euler\": bend_euler,\n",
" \"bend_euler_sc\": bend_euler,\n",
" \"ebeam_y_1550\": ebeam_y_1550,\n",
" \"straight\": straight,\n",
" },\n",
Expand Down Expand Up @@ -193,7 +193,7 @@
"metadata": {},
"outputs": [],
"source": [
"mzi20 = gf.components.mzi(splitter=c, delta_length=20)\n",
"mzi20 = pdk.mzi(splitter=c, delta_length=20)\n",
"mzi20.plot()"
]
},
Expand All @@ -208,7 +208,7 @@
"circuit, _ = sax.circuit(\n",
" netlist=netlist,\n",
" models={\n",
" \"bend_euler\": bend_euler,\n",
" \"bend_euler_sc\": bend_euler,\n",
" \"ebeam_y_1550\": ebeam_y_1550,\n",
" \"straight\": straight,\n",
" },\n",
Expand All @@ -232,6 +232,14 @@
"plt.grid(True)\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "01c019da",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -242,6 +250,18 @@
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
18 changes: 18 additions & 0 deletions docs/notebooks/14_sax_tidy3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,12 @@
"source": [
"As you can see two couplers have more broadband response"
]
},
{
"cell_type": "markdown",
"id": "90389668",
"metadata": {},
"source": []
}
],
"metadata": {
Expand All @@ -844,6 +850,18 @@
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6738c1b

Please sign in to comment.