Skip to content

Commit

Permalink
Deploying to gh-pages from @ aa471e0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
parkeraa committed Jan 26, 2024
1 parent 17c5fc7 commit 0b24055
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 20 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 12 additions & 11 deletions _sources/pages/mzi_layout.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pages/directional_couplers.html
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ <h3>Coupling length and the gap between waveguides<a class="headerlink" href="#c
\]</div>
<p>Because of this difference in propagation constants, the modes travel at different speeds down the waveguide and so the field intensity oscillates between the two waveguides. This is called beating. One beat is equivalent to the coupling length, or cross-over length, and it is the length it takes for all of the power from one waveguide to be coupled into the other. As the gap between the waveguides gets smaller, the beating gets faster since <span class="math notranslate nohighlight">\(\Delta n\)</span> gets larger, making the cross-over length shorter.</p>
<p>This cross-over length <span class="math notranslate nohighlight">\(L\)</span>, that gives 100% power transfer is found with:</p>
<div class="amsmath math notranslate nohighlight" id="equation-6af27814-b9ad-4bac-b793-549c6f436624">
<span class="eqno">(2)<a class="headerlink" href="#equation-6af27814-b9ad-4bac-b793-549c6f436624" title="Permalink to this equation">#</a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-f5d5ede0-6033-42ff-9661-378be5970976">
<span class="eqno">(2)<a class="headerlink" href="#equation-f5d5ede0-6033-42ff-9661-378be5970976" title="Permalink to this equation">#</a></span>\[\begin{align}
L_{\text{cross-over}} = \frac {\lambda}{2\Delta n} \nonumber
\end{align}\]</div>
<p>This is found from determining what length when multiplied by the propagation constants makes the phase difference <span class="math notranslate nohighlight">\(\pi\)</span>:</p>
Expand Down
13 changes: 7 additions & 6 deletions pages/mzi_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ <h1>Laying out a Mach-Zehnder Interferometer<a class="headerlink" href="#laying-
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span><span class="-Color -Color-Green">2024-01-26 11:16:10.112</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.technology.layer_views</span>:<span class="-Color -Color-Cyan">__init__</span>:<span class="-Color -Color-Cyan">790</span> - <span class="-Color -Color-Bold">Importing LayerViews from YAML file: '/home/parkeraa/miniconda3/envs/mp/lib/python3.11/site-packages/ubcpdk/layers.yaml'.</span>
<span class="-Color -Color-Green">2024-01-26 11:16:11.376</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">ubcpdk</span>:<span class="-Color -Color-Cyan">&lt;module&gt;</span>:<span class="-Color -Color-Cyan">30</span> - <span class="-Color -Color-Bold">Found UBCpdk '2.3.4' installed at PosixPath('/home/parkeraa/miniconda3/envs/mp/lib/python3.11/site-packages/ubcpdk')</span>
<span class="-Color -Color-Green">2024-01-26 11:16:11.456</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.technology.layer_views</span>:<span class="-Color -Color-Cyan">__init__</span>:<span class="-Color -Color-Cyan">790</span> - <span class="-Color -Color-Bold">Importing LayerViews from YAML file: '/home/parkeraa/miniconda3/envs/mp/lib/python3.11/site-packages/gdsfactory/generic_tech/layer_views.yaml'.</span>
<span class="-Color -Color-Green">2024-01-26 11:16:11.461</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.pdk</span>:<span class="-Color -Color-Cyan">activate</span>:<span class="-Color -Color-Cyan">307</span> - <span class="-Color -Color-Bold">'ubcpdk' PDK is now active</span>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span><span class="-Color -Color-Green">2024-01-26 12:58:37.353</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.technology.layer_views</span>:<span class="-Color -Color-Cyan">__init__</span>:<span class="-Color -Color-Cyan">790</span> - <span class="-Color -Color-Bold">Importing LayerViews from YAML file: '/home/parkeraa/miniconda3/envs/mp/lib/python3.11/site-packages/ubcpdk/layers.yaml'.</span>
<span class="-Color -Color-Green">2024-01-26 12:58:38.389</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">ubcpdk</span>:<span class="-Color -Color-Cyan">&lt;module&gt;</span>:<span class="-Color -Color-Cyan">30</span> - <span class="-Color -Color-Bold">Found UBCpdk '2.3.4' installed at PosixPath('/home/parkeraa/miniconda3/envs/mp/lib/python3.11/site-packages/ubcpdk')</span>
<span class="-Color -Color-Green">2024-01-26 12:58:38.462</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.technology.layer_views</span>:<span class="-Color -Color-Cyan">__init__</span>:<span class="-Color -Color-Cyan">790</span> - <span class="-Color -Color-Bold">Importing LayerViews from YAML file: '/home/parkeraa/miniconda3/envs/mp/lib/python3.11/site-packages/gdsfactory/generic_tech/layer_views.yaml'.</span>
<span class="-Color -Color-Green">2024-01-26 12:58:38.468</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.pdk</span>:<span class="-Color -Color-Cyan">activate</span>:<span class="-Color -Color-Cyan">307</span> - <span class="-Color -Color-Bold">'ubcpdk' PDK is now active</span>
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -388,6 +388,7 @@ <h1>Laying out a Mach-Zehnder Interferometer<a class="headerlink" href="#laying-
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">ubcpdk.config</span> <span class="kn">import</span> <span class="n">CONFIG</span>
<span class="kn">from</span> <span class="nn">functools</span> <span class="kn">import</span> <span class="n">partial</span>

<span class="n">CONFIG</span><span class="o">.</span><span class="n">username</span><span class="o">=</span><span class="s1">'MyName'</span>
<span class="nb">print</span><span class="p">(</span><span class="n">CONFIG</span><span class="o">.</span><span class="n">username</span><span class="p">)</span>
Expand All @@ -400,7 +401,7 @@ <h1>Laying out a Mach-Zehnder Interferometer<a class="headerlink" href="#laying-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>MyName
</pre></div>
</div>
<img alt="../_images/7245f55df573520437030781097976737891a72b8d6dd1d5fa63a47ef1945e6e.png" src="../_images/7245f55df573520437030781097976737891a72b8d6dd1d5fa63a47ef1945e6e.png"/>
<img alt="../_images/a977c11e12e70a7fe7b42347dac130f7f06037964f1fb326fee271a34df7c86b.png" src="../_images/a977c11e12e70a7fe7b42347dac130f7f06037964f1fb326fee271a34df7c86b.png"/>
</div>
</div>
<p>We can export our design using the write_gds function.</p>
Expand All @@ -411,7 +412,7 @@ <h1>Laying out a Mach-Zehnder Interferometer<a class="headerlink" href="#laying-
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span><span class="-Color -Color-Green">2024-01-26 12:38:46.077</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.component</span>:<span class="-Color -Color-Cyan">_write_library</span>:<span class="-Color -Color-Cyan">1913</span> - <span class="-Color -Color-Bold">Wrote to 'mzi.gds'</span>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span><span class="-Color -Color-Green">2024-01-26 12:59:01.346</span> | <span class="-Color -Color-Bold">INFO </span> | <span class="-Color -Color-Cyan">gdsfactory.component</span>:<span class="-Color -Color-Cyan">_write_library</span>:<span class="-Color -Color-Cyan">1913</span> - <span class="-Color -Color-Bold">Wrote to 'mzi.gds'</span>
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>PosixPath('mzi.gds')
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 0b24055

Please sign in to comment.