Skip to content

Commit

Permalink
Deploying to gh-pages from @ fury-gl/fury@342bf69 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed May 3, 2024
1 parent 6093c84 commit 75aa1a7
Show file tree
Hide file tree
Showing 584 changed files with 1,746 additions and 1,221 deletions.
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: d555acfc62b7bbb17c4e4e99f82a529f
config: 99f5e9400b87a154c2e9660b9dbba890
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified dev/.doctrees/auto_examples/01_introductory/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_arrow.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_cone.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_gltf.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_morphing.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_picking.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_skinning.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_slice.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_sphere.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_spiky.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_surfaces.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_texture.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_timers.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/collision-particles.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_advanced.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_brownian_motion.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_bundles.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_dt_ellipsoids.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_fiber_odf.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_fractals.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_helical_motion.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_markers.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_network.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_pbr_interactive.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_play_video.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_roi_contour.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_tesseract.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_buttons.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_card.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_card_sprite_sheet.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_check_boxes.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_combobox.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_drawpanel.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_layout.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_radio_buttons.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_shapes.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_spinbox.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_tab.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_ui.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_ui_listbox.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_ui_slider.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/10_animation/index.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/10_animation/viz_camera.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/10_animation/viz_timeline.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/index.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_pbr_spheres.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_sdf_cylinder.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_sdfactor.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_shader.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/viz_ball_collide.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/viz_brick_wall.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/viz_chain.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/viz_domino.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/viz_interaction.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/viz_no_interaction.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/viz_widget.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/community.doctree
Binary file not shown.
Binary file modified dev/.doctrees/environment.pickle
Binary file not shown.
Binary file modified dev/.doctrees/reference/fury.actor.doctree
Binary file not shown.
Binary file modified dev/.doctrees/reference/fury.deprecator.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions dev/_modules/fury.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
198 changes: 157 additions & 41 deletions dev/_modules/fury/actor.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/_modules/fury/actors/odf_slicer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.actors.odf_slicer &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.actors.odf_slicer &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions dev/_modules/fury/actors/peak.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.actors.peak &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.actors.peak &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions dev/_modules/fury/actors/tensor.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.actors.tensor &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.actors.tensor &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
51 changes: 36 additions & 15 deletions dev/_modules/fury/animation/animation.html

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dev/_modules/fury/animation/helpers.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.animation.helpers &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.animation.helpers &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -469,7 +469,8 @@ <h1>Source code for fury.animation.helpers</h1><div class="highlight"><pre>

<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">return</span> <span class="n">np</span><span class="o">.</span><span class="n">asarray</span><span class="p">(</span>
<span class="p">[</span><span class="n">keyframes</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">t</span><span class="p">,</span> <span class="p">{})</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;value&#39;</span><span class="p">,</span> <span class="kc">None</span><span class="p">)</span> <span class="k">for</span> <span class="n">t</span> <span class="ow">in</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">keyframes</span><span class="o">.</span><span class="n">keys</span><span class="p">())]</span>
<span class="p">[</span><span class="n">keyframes</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">t</span><span class="p">,</span> <span class="p">{})</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;value&#39;</span><span class="p">,</span> <span class="kc">None</span><span class="p">)</span>
<span class="k">for</span> <span class="n">t</span> <span class="ow">in</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">keyframes</span><span class="o">.</span><span class="n">keys</span><span class="p">())]</span>
<span class="p">)</span></div>


Expand Down
4 changes: 2 additions & 2 deletions dev/_modules/fury/animation/interpolator.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.animation.interpolator &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.animation.interpolator &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
14 changes: 10 additions & 4 deletions dev/_modules/fury/animation/timeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.animation.timeline &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.animation.timeline &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -412,7 +412,9 @@ <h1>Source code for fury.animation.timeline</h1><div class="highlight"><pre>

<div class="viewcode-block" id="Timeline.__init__">
<a class="viewcode-back" href="../../../reference/fury.animation.html#fury.animation.timeline.Timeline.__init__">[docs]</a>
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">animations</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">playback_panel</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">loop</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">animations</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">playback_panel</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
<span class="n">loop</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">length</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>

<span class="bp">self</span><span class="o">.</span><span class="n">_scene</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">playback_panel</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -768,7 +770,11 @@ <h1>Source code for fury.animation.timeline</h1><div class="highlight"><pre>
<span class="n">render_window</span><span class="o">.</span><span class="n">SetSize</span><span class="p">(</span><span class="o">*</span><span class="n">size</span><span class="p">)</span>

<span class="k">if</span> <span class="n">order_transparent</span><span class="p">:</span>
<span class="n">window</span><span class="o">.</span><span class="n">antialiasing</span><span class="p">(</span><span class="n">scene</span><span class="p">,</span> <span class="n">render_window</span><span class="p">,</span> <span class="n">multi_samples</span><span class="p">,</span> <span class="n">max_peels</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
<span class="n">window</span><span class="o">.</span><span class="n">antialiasing</span><span class="p">(</span><span class="n">scene</span><span class="p">,</span>
<span class="n">render_window</span><span class="p">,</span>
<span class="n">multi_samples</span><span class="p">,</span>
<span class="n">max_peels</span><span class="p">,</span>
<span class="mi">0</span><span class="p">)</span>

<span class="n">window_to_image_filter</span> <span class="o">=</span> <span class="n">WindowToImageFilter</span><span class="p">()</span>

Expand Down
13 changes: 8 additions & 5 deletions dev/_modules/fury/colormap.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.colormap &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.colormap &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -627,7 +627,8 @@ <h1>Source code for fury.colormap</h1><div class="highlight"><pre>
<span class="n">orient</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">abs</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">divide</span><span class="p">(</span><span class="n">v</span><span class="p">,</span> <span class="n">orientn</span><span class="p">,</span> <span class="n">where</span><span class="o">=</span><span class="n">orientn</span> <span class="o">!=</span> <span class="mi">0</span><span class="p">))</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">IOError</span><span class="p">(</span>
<span class="s1">&#39;Wrong vector dimension, It should be an array&#39;</span> <span class="s1">&#39; with a shape (N, 3)&#39;</span>
<span class="s1">&#39;Wrong vector dimension, It should be an array&#39;</span>
<span class="s1">&#39; with a shape (N, 3)&#39;</span>
<span class="p">)</span>

<span class="k">return</span> <span class="n">orient</span></div>
Expand All @@ -651,12 +652,14 @@ <h1>Source code for fury.colormap</h1><div class="highlight"><pre>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">if</span> <span class="n">cmap</span> <span class="o">==</span> <span class="s1">&#39;rgb_standard&#39;</span><span class="p">:</span>
<span class="n">col_list</span> <span class="o">=</span> <span class="p">[</span>
<span class="n">orient2rgb</span><span class="p">(</span><span class="n">streamline</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="o">-</span> <span class="n">streamline</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span> <span class="k">for</span> <span class="n">streamline</span> <span class="ow">in</span> <span class="n">streamlines</span>
<span class="n">orient2rgb</span><span class="p">(</span><span class="n">streamline</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="o">-</span> <span class="n">streamline</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>
<span class="k">for</span> <span class="n">streamline</span> <span class="ow">in</span> <span class="n">streamlines</span>
<span class="p">]</span>

<span class="k">if</span> <span class="n">cmap</span> <span class="o">==</span> <span class="s1">&#39;boys_standard&#39;</span><span class="p">:</span>
<span class="n">col_list</span> <span class="o">=</span> <span class="p">[</span>
<span class="n">boys2rgb</span><span class="p">(</span><span class="n">streamline</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="o">-</span> <span class="n">streamline</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span> <span class="k">for</span> <span class="n">streamline</span> <span class="ow">in</span> <span class="n">streamlines</span>
<span class="n">boys2rgb</span><span class="p">(</span><span class="n">streamline</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span> <span class="o">-</span> <span class="n">streamline</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>
<span class="k">for</span> <span class="n">streamline</span> <span class="ow">in</span> <span class="n">streamlines</span>
<span class="p">]</span>

<span class="k">return</span> <span class="n">np</span><span class="o">.</span><span class="n">vstack</span><span class="p">(</span><span class="n">col_list</span><span class="p">)</span></div>
Expand Down
10 changes: 7 additions & 3 deletions dev/_modules/fury/convert.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.convert &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.convert &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -431,7 +431,11 @@ <h1>Source code for fury.convert</h1><div class="highlight"><pre>
<span class="n">arr</span> <span class="o">=</span> <span class="n">load_image</span><span class="p">(</span><span class="n">fname</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">fig</span><span class="o">.</span><span class="n">savefig</span><span class="p">(</span>
<span class="n">fname</span><span class="p">,</span> <span class="n">dpi</span><span class="o">=</span><span class="n">dpi</span><span class="p">,</span> <span class="n">transparent</span><span class="o">=</span><span class="n">transparent</span><span class="p">,</span> <span class="n">bbox_inches</span><span class="o">=</span><span class="s1">&#39;tight&#39;</span><span class="p">,</span> <span class="n">pad_inches</span><span class="o">=</span><span class="mi">0</span>
<span class="n">fname</span><span class="p">,</span>
<span class="n">dpi</span><span class="o">=</span><span class="n">dpi</span><span class="p">,</span>
<span class="n">transparent</span><span class="o">=</span><span class="n">transparent</span><span class="p">,</span>
<span class="n">bbox_inches</span><span class="o">=</span><span class="s1">&#39;tight&#39;</span><span class="p">,</span>
<span class="n">pad_inches</span><span class="o">=</span><span class="mi">0</span>
<span class="p">)</span>
<span class="n">arr</span> <span class="o">=</span> <span class="n">load_image</span><span class="p">(</span><span class="n">fname</span><span class="p">)</span>

Expand Down
4 changes: 2 additions & 2 deletions dev/_modules/fury/data/fetcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fury.data.fetcher &#8212; FURY 0.11.0.dev27+g14851c6a documentation</title>
<title>fury.data.fetcher &#8212; FURY 0.11.0.dev28+g342bf695 documentation</title>



Expand Down Expand Up @@ -43,7 +43,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../../../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="../../../_static/documentation_options.js?v=ffcf25f7"></script>
<script src="../../../_static/documentation_options.js?v=f7d6ff3c"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
Loading

0 comments on commit 75aa1a7

Please sign in to comment.