Skip to content

Commit

Permalink
[doc] corrected shape of images
Browse files Browse the repository at this point in the history
  • Loading branch information
lasofivec committed Sep 5, 2019
1 parent ac65e7f commit fb95884
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
Binary file modified doc/build/doctrees/Tutorial_Geom_HowToCreateGeometry.doctree
Binary file not shown.
Binary file modified doc/build/doctrees/environment.pickle
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/build/html/Tutorial_Geom_HowToCreateGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ <h2>Creating cameras<a class="headerlink" href="#creating-cameras" title="Permal
<a class="reference internal image-reference" href="_images/cam1d_plot.png"><img alt="Plot of a 1D Camera" src="_images/cam1d_plot.png" style="width: 600.0px; height: 300.0px;" /></a>
</div>
<div class="figure align-center">
<a class="reference internal image-reference" href="_images/cam1d_plot_touch.png"><img alt="Interactive plot of a 1D Camera" src="_images/cam1d_plot_touch.png" style="width: 600.0px; height: 300.0px;" /></a>
<a class="reference internal image-reference" href="_images/cam1d_plot_touch.png"><img alt="Interactive plot of a 1D Camera" src="_images/cam1d_plot_touch.png" style="width: 700.0px; height: 489.99999999999994px;" /></a>
</div>
<p>Creating 2D cameras. We are going to create a 2D camera with a slight rotation of the angles of sight to have a more tangential view of the tokamak and the structures.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">cam2</span> <span class="o">=</span> <span class="n">tf</span><span class="o">.</span><span class="n">geom</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">create_CamLOS2D</span><span class="p">(</span><span class="n">config</span><span class="o">=</span><span class="n">config</span><span class="p">,</span> <span class="n">P</span><span class="o">=</span><span class="p">[</span><span class="mf">3.</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="o">-</span><span class="mf">0.5</span><span class="p">],</span> <span class="n">N12</span><span class="o">=</span><span class="mi">100</span><span class="p">,</span> <span class="n">F</span><span class="o">=</span><span class="mf">0.1</span><span class="p">,</span> <span class="n">D12</span><span class="o">=</span><span class="mf">0.1</span><span class="p">,</span> <span class="n">angs</span><span class="o">=</span><span class="p">[</span><span class="n">np</span><span class="o">.</span><span class="n">pi</span><span class="p">,</span><span class="mf">0.2</span><span class="p">,</span><span class="mi">0</span><span class="p">],</span> <span class="n">Name</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">Exp</span><span class="o">=</span><span class="s1">&#39;Misc&#39;</span><span class="p">,</span> <span class="n">Diag</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">cam2</span><span class="o">.</span><span class="n">plot_touch</span><span class="p">()</span> <span class="c1"># also interactive ! click on the left plot and see for yourself!</span>
</pre></div>
</div>
<div class="figure align-center">
<a class="reference internal image-reference" href="_images/cam2d_plot_touch.png"><img alt="Interactive plot of a 2D Camera" src="_images/cam2d_plot_touch.png" style="width: 600.0px; height: 300.0px;" /></a>
<a class="reference internal image-reference" href="_images/cam2d_plot_touch.png"><img alt="Interactive plot of a 2D Camera" src="_images/cam2d_plot_touch.png" style="width: 700.0px; height: 489.99999999999994px;" /></a>
</div>
<p>Congratulations ! You completed the basic tutorial for getting started and creating your own geometry, take you time now to explore all the methods and attributes of the classes introduced in <a class="reference internal" href="Auto_tofu.geom.html#module-tofu.geom" title="tofu.geom"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tofu.geom</span></code></a>.</p>
</div>
Expand Down
Binary file modified doc/build/html/objects.inv
Binary file not shown.
8 changes: 2 additions & 6 deletions doc/source/Tutorial_Geom_HowToCreateGeometry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ Creating 1D cameras
:align: center

.. figure:: figures_doc/cam1d_plot_touch.png
:height: 300px
:width: 600 px
:scale: 100 %
:scale: 70 %
:alt: Interactive plot of a 1D Camera
:align: center

Expand All @@ -207,9 +205,7 @@ Creating 2D cameras. We are going to create a 2D camera with a slight rotation o
>>> cam2.plot_touch() # also interactive ! click on the left plot and see for yourself!

.. figure:: figures_doc/cam2d_plot_touch.png
:height: 300px
:width: 600 px
:scale: 100 %
:scale: 70 %
:alt: Interactive plot of a 2D Camera
:align: center

Expand Down

0 comments on commit fb95884

Please sign in to comment.