Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-schouten committed Nov 21, 2024
1 parent 3592493 commit 6e11b05
Show file tree
Hide file tree
Showing 42 changed files with 1,436 additions and 748 deletions.
Binary file modified docs/build/doctrees/api/globe/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/api/grids/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/api/optimise/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/api/plate_torques/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/api/plates/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/api/points/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/api/slabs/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ <h1>All modules for which code is available</h1>

</aside>
</div>
</div><script src="../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../_static/documentation_options.js?v=27c35e89"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
122 changes: 97 additions & 25 deletions docs/build/html/_modules/plato/globe.html

Large diffs are not rendered by default.

157 changes: 133 additions & 24 deletions docs/build/html/_modules/plato/grids.html

Large diffs are not rendered by default.

418 changes: 237 additions & 181 deletions docs/build/html/_modules/plato/optimisation.html

Large diffs are not rendered by default.

400 changes: 244 additions & 156 deletions docs/build/html/_modules/plato/plate_torques.html

Large diffs are not rendered by default.

156 changes: 86 additions & 70 deletions docs/build/html/_modules/plato/plates.html

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions docs/build/html/_modules/plato/plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -1485,14 +1485,12 @@ <h1>Source code for plato.plot</h1><div class="highlight"><pre>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="c1"># Normalise vectors, if necessary</span>
<span class="k">if</span> <span class="n">normalise_vectors</span> <span class="ow">and</span> <span class="n">vector_mag</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="c1"># Normalise by dividing by the magnitude of the vectors</span>
<span class="c1"># Multiply by 10 to make the vectors more visible</span>
<span class="n">vector_lon</span> <span class="o">=</span> <span class="n">vector_lon</span> <span class="o">/</span> <span class="n">vector_mag</span> <span class="o">*</span> <span class="mi">10</span>
<span class="n">vector_lat</span> <span class="o">=</span> <span class="n">vector_lat</span> <span class="o">/</span> <span class="n">vector_mag</span> <span class="o">*</span> <span class="mi">10</span>

<span class="nb">print</span><span class="p">(</span><span class="n">_numpy</span><span class="o">.</span><span class="n">nanmean</span><span class="p">(</span><span class="n">_numpy</span><span class="o">.</span><span class="n">sqrt</span><span class="p">(</span><span class="n">vector_lon</span><span class="o">**</span><span class="mi">2</span> <span class="o">+</span> <span class="n">vector_lat</span><span class="o">**</span><span class="mi">2</span><span class="p">)))</span>

<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Normalised vectors!&quot;</span><span class="p">)</span>
<span class="k">with</span> <span class="n">warnings</span><span class="o">.</span><span class="n">catch_warnings</span><span class="p">():</span>
<span class="n">warnings</span><span class="o">.</span><span class="n">simplefilter</span><span class="p">(</span><span class="s2">&quot;ignore&quot;</span><span class="p">)</span>
<span class="c1"># Normalise by dividing by the magnitude of the vectors</span>
<span class="c1"># Multiply by 10 to make the vectors more visible</span>
<span class="n">vector_lon</span> <span class="o">=</span> <span class="n">vector_lon</span> <span class="o">/</span> <span class="n">vector_mag</span> <span class="o">*</span> <span class="mi">10</span>
<span class="n">vector_lat</span> <span class="o">=</span> <span class="n">vector_lat</span> <span class="o">/</span> <span class="n">vector_mag</span> <span class="o">*</span> <span class="mi">10</span>

<span class="c1"># Plot vectors</span>
<span class="c1"># Ignore annoying warnings</span>
Expand Down Expand Up @@ -1611,7 +1609,7 @@ <h1>Source code for plato.plot</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
220 changes: 138 additions & 82 deletions docs/build/html/_modules/plato/points.html

Large diffs are not rendered by default.

346 changes: 246 additions & 100 deletions docs/build/html/_modules/plato/slabs.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: 'v0.0.1-41-gdd09714-dirty',
VERSION: 'v0.0.1-45-g3592493-dirty',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/api/generated/plato.globe.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/api/generated/plato.grids.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/api/generated/plato.plates.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/api/generated/plato.plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/api/generated/plato.points.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/api/generated/plato.slabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=ad0b566d"></script>
</div><script src="../../_static/documentation_options.js?v=27c35e89"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=5fa4622c"></script>
Expand Down
Loading

0 comments on commit 6e11b05

Please sign in to comment.