Skip to content

Commit

Permalink
Deploying to gh-pages from @ bf33121 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
qpavsmi committed Nov 6, 2023
1 parent 412cbb7 commit e42132b
Show file tree
Hide file tree
Showing 9 changed files with 148 additions and 109 deletions.
13 changes: 10 additions & 3 deletions _modules/kqcircuits/chips/quality_factor.html
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ <h1>Source code for kqcircuits.chips.quality_factor</h1><div class="highlight"><
<span class="kn">from</span> <span class="nn">kqcircuits.util.parameters</span> <span class="kn">import</span> <span class="n">Param</span><span class="p">,</span> <span class="n">pdt</span>

<span class="kn">from</span> <span class="nn">kqcircuits.chips.chip</span> <span class="kn">import</span> <span class="n">Chip</span>
<span class="kn">from</span> <span class="nn">kqcircuits.defaults</span> <span class="kn">import</span> <span class="n">default_airbridge_type</span>
<span class="kn">from</span> <span class="nn">kqcircuits.defaults</span> <span class="kn">import</span> <span class="n">default_airbridge_type</span><span class="p">,</span> <span class="n">default_sampleholders</span>
<span class="kn">from</span> <span class="nn">kqcircuits.elements.waveguide_coplanar</span> <span class="kn">import</span> <span class="n">WaveguideCoplanar</span>
<span class="kn">from</span> <span class="nn">kqcircuits.elements.waveguide_coplanar_splitter</span> <span class="kn">import</span> <span class="n">WaveguideCoplanarSplitter</span><span class="p">,</span> <span class="n">t_cross_parameters</span>
<span class="kn">from</span> <span class="nn">kqcircuits.elements.airbridges.airbridge</span> <span class="kn">import</span> <span class="n">Airbridge</span>
Expand Down Expand Up @@ -609,10 +609,17 @@ <h1>Source code for kqcircuits.chips.quality_factor</h1><div class="highlight"><
<span class="k">else</span><span class="p">:</span>
<span class="n">wg_top_y</span> <span class="o">=</span> <span class="p">(</span><span class="n">chip_side</span> <span class="o">+</span> <span class="n">max_res_len</span><span class="p">)</span> <span class="o">/</span> <span class="mi">2</span>

<span class="c1"># support resizable chip keeping pad distances from the top constant</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">sample_holder_type</span> <span class="o">==</span> <span class="s2">&quot;ARD24&quot;</span><span class="p">:</span>
<span class="n">launchers</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">produce_launchers</span><span class="p">(</span><span class="s2">&quot;ARD24&quot;</span><span class="p">,</span> <span class="p">{</span><span class="mi">24</span><span class="p">:</span> <span class="s2">&quot;PL-1-IN&quot;</span><span class="p">,</span> <span class="mi">7</span><span class="p">:</span> <span class="s2">&quot;PL-1-OUT&quot;</span><span class="p">})</span>
<span class="n">launchers</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">produce_n_launchers</span><span class="p">(</span><span class="o">**</span><span class="p">{</span><span class="o">**</span><span class="n">default_sampleholders</span><span class="p">[</span><span class="s2">&quot;ARD24&quot;</span><span class="p">],</span>
<span class="s2">&quot;pad_pitch&quot;</span><span class="p">:</span> <span class="p">(</span><span class="n">chip_side</span> <span class="o">-</span> <span class="mi">4000</span><span class="p">)</span> <span class="o">/</span> <span class="mi">5</span><span class="p">,</span>
<span class="s2">&quot;chip_box&quot;</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">box</span><span class="p">},</span>
<span class="n">launcher_assignments</span><span class="o">=</span><span class="p">{</span><span class="mi">24</span><span class="p">:</span> <span class="s2">&quot;PL-1-IN&quot;</span><span class="p">,</span> <span class="mi">7</span><span class="p">:</span> <span class="s2">&quot;PL-1-OUT&quot;</span><span class="p">})</span>
<span class="k">elif</span> <span class="bp">self</span><span class="o">.</span><span class="n">sample_holder_type</span> <span class="o">==</span> <span class="s2">&quot;SMA8&quot;</span><span class="p">:</span>
<span class="n">launchers</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">produce_launchers</span><span class="p">(</span><span class="s2">&quot;SMA8&quot;</span><span class="p">,</span> <span class="p">{</span><span class="mi">8</span><span class="p">:</span> <span class="s2">&quot;PL-1-IN&quot;</span><span class="p">,</span> <span class="mi">3</span><span class="p">:</span> <span class="s2">&quot;PL-1-OUT&quot;</span><span class="p">})</span>
<span class="n">launchers</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">produce_n_launchers</span><span class="p">(</span><span class="o">**</span><span class="p">{</span><span class="o">**</span><span class="n">default_sampleholders</span><span class="p">[</span><span class="s2">&quot;SMA8&quot;</span><span class="p">],</span>
<span class="s2">&quot;pad_pitch&quot;</span><span class="p">:</span> <span class="n">chip_side</span> <span class="o">-</span> <span class="mi">2</span> <span class="o">*</span> <span class="mi">2800</span><span class="p">,</span>
<span class="s2">&quot;chip_box&quot;</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">box</span><span class="p">},</span>
<span class="n">launcher_assignments</span><span class="o">=</span><span class="p">{</span><span class="mi">8</span><span class="p">:</span> <span class="s2">&quot;PL-1-IN&quot;</span><span class="p">,</span> <span class="mi">3</span><span class="p">:</span> <span class="s2">&quot;PL-1-OUT&quot;</span><span class="p">})</span>

<span class="c1"># Define start and end of feedline</span>
<span class="n">points_fl</span> <span class="o">=</span> <span class="p">[</span><span class="n">launchers</span><span class="p">[</span><span class="s2">&quot;PL-1-IN&quot;</span><span class="p">][</span><span class="mi">0</span><span class="p">]]</span>
Expand Down
Loading

0 comments on commit e42132b

Please sign in to comment.