Skip to content

Commit

Permalink
Deploying to gh-pages from @ 367ee22 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Andeloth committed Jan 23, 2024
1 parent e832622 commit f7f9a0b
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 107 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
84 changes: 25 additions & 59 deletions _sources/pages/mzi.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 @@ -564,8 +564,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-f02fdd01-2fb4-4716-a30c-4da9a44c10cb">
<span class="eqno">(2)<a class="headerlink" href="#equation-f02fdd01-2fb4-4716-a30c-4da9a44c10cb" title="Permalink to this equation">#</a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-f70109e6-c7e2-43a2-9e64-fd60e1842c91">
<span class="eqno">(2)<a class="headerlink" href="#equation-f70109e6-c7e2-43a2-9e64-fd60e1842c91" 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
64 changes: 19 additions & 45 deletions pages/mzi.html
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ <h2>Models<a class="headerlink" href="#models" title="Permalink to this heading"
-----
See also the PDK documentation:
https://github.com/SiEPIC/SiEPIC_EBeam_PDK/blob/master/Documentation/SiEPIC_EBeam_PDK%20-%20Components%20with%20Models.docx
<span class="-Color -Color-Red">File:</span> ~/git/simphony/simphony/libraries/siepic/models.py
<span class="-Color -Color-Red">File:</span> ~/miniconda3/envs/photonics/lib/python3.11/site-packages/simphony/libraries/siepic/models.py
<span class="-Color -Color-Red">Type:</span> function
</pre></div>
</div>
Expand Down Expand Up @@ -581,34 +581,22 @@ <h2>Simulation (using callables)<a class="headerlink" href="#simulation-using-ca
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{'gc_in': {'wl': Array(1.55, dtype=float64),
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{'gc_in': {'wl': 1.55, 'pol': 'te', 'thickness': 220.0, 'dwidth': 0},
'splitter': {'wl': 1.55, 'pol': 'te', 'thickness': 220.0, 'width': 500.0},
'long_wg': {'wl': 1.55,
'pol': 'te',
'thickness': Array(220., dtype=float64),
'dwidth': Array(0., dtype=float64)},
'splitter': {'wl': Array(1.55, dtype=float64),
'length': 0.0,
'width': 500.0,
'height': 220.0,
'loss': 0.0},
'short_wg': {'wl': 1.55,
'pol': 'te',
'thickness': Array(220., dtype=float64),
'width': Array(500., dtype=float64)},
'long_wg': {'wl': Array(1.55, dtype=float64),
'pol': 'te',
'length': Array(0., dtype=float64),
'width': Array(500., dtype=float64),
'height': Array(220., dtype=float64),
'loss': Array(0., dtype=float64)},
'short_wg': {'wl': Array(1.55, dtype=float64),
'pol': 'te',
'length': Array(0., dtype=float64),
'width': Array(500., dtype=float64),
'height': Array(220., dtype=float64),
'loss': Array(0., dtype=float64)},
'combiner': {'wl': Array(1.55, dtype=float64),
'pol': 'te',
'thickness': Array(220., dtype=float64),
'width': Array(500., dtype=float64)},
'gc_out': {'wl': Array(1.55, dtype=float64),
'pol': 'te',
'thickness': Array(220., dtype=float64),
'dwidth': Array(0., dtype=float64)}}
'length': 0.0,
'width': 500.0,
'height': 220.0,
'loss': 0.0},
'combiner': {'wl': 1.55, 'pol': 'te', 'thickness': 220.0, 'width': 500.0},
'gc_out': {'wl': 1.55, 'pol': 'te', 'thickness': 220.0, 'dwidth': 0}}
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -654,23 +642,16 @@ <h2>Analysis of a balanced MZI<a class="headerlink" href="#analysis-of-a-balance
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">gdsfactory</span> <span class="k">as</span> <span class="nn">gf</span>

<span class="n">PDK</span> <span class="o">=</span> <span class="n">gf</span><span class="o">.</span><span class="n">get_generic_pdk</span><span class="p">()</span>
<span class="n">PDK</span><span class="o">.</span><span class="n">activate</span><span class="p">()</span>

<span class="c1"># The &lt;&lt; is shorthand for c.add_ref()</span>
<span class="n">c</span> <span class="o">=</span> <span class="n">gf</span><span class="o">.</span><span class="n">Component</span><span class="p">(</span><span class="s2">"my_component"</span><span class="p">)</span>
<span class="n">mzi</span> <span class="o">=</span> <span class="n">c</span> <span class="o">&lt;&lt;</span> <span class="n">gf</span><span class="o">.</span><span class="n">components</span><span class="o">.</span><span class="n">mzi</span><span class="p">(</span><span class="n">delta_length</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span>

<span class="n">c</span><span class="o">.</span><span class="n">plot_matplotlib</span><span class="p">()</span>
<span class="n">c</span><span class="o">.</span><span class="n">plot</span><span class="p">()</span>
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span><span class="-Color -Color-Green">2024-01-09 23:00:01.222</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">785</span> - <span class="-Color -Color-Bold">Importing LayerViews from YAML file: '/home/sequoia/git/Photonics-Bootcamp/env/lib/python3.11/site-packages/gdsfactory/generic_tech/layer_views.yaml'.</span>
<span class="-Color -Color-Green">2024-01-09 23:00:01.227</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">258</span> - <span class="-Color -Color-Bold">'generic' PDK is now active</span>
</pre></div>
</div>
<img alt="../_images/d30d68ddd43e49e0882b36f1269edec6dc7dbfabcadf0dd3dea898b99afe6fe2.png" src="../_images/d30d68ddd43e49e0882b36f1269edec6dc7dbfabcadf0dd3dea898b99afe6fe2.png"/>
<img alt="../_images/6f55ba31bf0a482c807b04fc82cf7fc9711ae9df443b39ff96562fa47613df31.png" src="../_images/6f55ba31bf0a482c807b04fc82cf7fc9711ae9df443b39ff96562fa47613df31.png"/>
</div>
</div>
<p>There are there three different relevant amplitudes:</p>
Expand Down Expand Up @@ -738,22 +719,15 @@ <h2>Analysis of imblanced MZI’s<a class="headerlink" href="#analysis-of-imblan
<div class="cell_input docutils container">
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">gdsfactory</span> <span class="k">as</span> <span class="nn">gf</span>

<span class="n">PDK</span> <span class="o">=</span> <span class="n">gf</span><span class="o">.</span><span class="n">get_generic_pdk</span><span class="p">()</span>
<span class="n">PDK</span><span class="o">.</span><span class="n">activate</span><span class="p">()</span>

<span class="n">c</span> <span class="o">=</span> <span class="n">gf</span><span class="o">.</span><span class="n">Component</span><span class="p">(</span><span class="s2">"my_component"</span><span class="p">)</span>
<span class="n">mzi</span> <span class="o">=</span> <span class="n">c</span> <span class="o">&lt;&lt;</span> <span class="n">gf</span><span class="o">.</span><span class="n">components</span><span class="o">.</span><span class="n">mzi</span><span class="p">(</span><span class="n">delta_length</span><span class="o">=</span><span class="mi">15</span><span class="p">)</span>

<span class="n">c</span><span class="o">.</span><span class="n">plot_matplotlib</span><span class="p">()</span>
<span class="n">c</span><span class="o">.</span><span class="n">plot</span><span class="p">()</span>
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span><span class="-Color -Color-Green">2024-01-09 22:59:50.499</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">785</span> - <span class="-Color -Color-Bold">Importing LayerViews from YAML file: '/home/sequoia/git/Photonics-Bootcamp/env/lib/python3.11/site-packages/gdsfactory/generic_tech/layer_views.yaml'.</span>
<span class="-Color -Color-Green">2024-01-09 22:59:50.508</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">258</span> - <span class="-Color -Color-Bold">'generic' PDK is now active</span>
</pre></div>
</div>
<img alt="../_images/9a415e85d0c43a7a40bed466a818eb08f4cae62e6a4b0a95e4be1e379298b378.png" src="../_images/9a415e85d0c43a7a40bed466a818eb08f4cae62e6a4b0a95e4be1e379298b378.png"/>
<img alt="../_images/1bf7001c97363cb5f3fb2601b97ec9d6273a66cee4a8621048021573cda77d12.png" src="../_images/1bf7001c97363cb5f3fb2601b97ec9d6273a66cee4a8621048021573cda77d12.png"/>
</div>
</div>
<section id="id1">
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit f7f9a0b

Please sign in to comment.