Skip to content

Commit 50f73c7

Browse files
committed
deploy: b60b2be
1 parent 16f167f commit 50f73c7

File tree

9 files changed

+4
-34
lines changed

9 files changed

+4
-34
lines changed

.doctrees/environment.pickle

-547 Bytes
Binary file not shown.
-596 Bytes
Binary file not shown.

.doctrees/res/code/utils.doctree

-3.72 KB
Binary file not shown.

_sources/res/code/utils.rst.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ get_time_filepath
2727
**************************************
2828
.. autofunction:: napari_cellseg3d.utils::get_time_filepath
2929

30-
save_stack
31-
**************************************
32-
.. autofunction:: napari_cellseg3d.utils::save_stack
33-
3430
get_padding_dim
3531
**************************************
3632
.. autofunction:: napari_cellseg3d.utils::get_padding_dim

genindex.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ <h2 id="R">R</h2>
492492
<h2 id="S">S</h2>
493493
<table style="width: 100%" class="indextable genindextable"><tr>
494494
<td style="width: 33%; vertical-align: top;"><ul>
495-
<li><a href="res/code/utils.html#napari_cellseg3d.utils.save_stack">save_stack() (in module napari_cellseg3d.utils)</a>
496-
</li>
497495
<li><a href="res/code/interface.html#napari_cellseg3d.interface.AnisotropyWidgets.scaling_xyz">scaling_xyz() (napari_cellseg3d.interface.AnisotropyWidgets method)</a>
498496
</li>
499497
<li><a href="res/code/interface.html#napari_cellseg3d.interface.AnisotropyWidgets.scaling_zyx">scaling_zyx() (napari_cellseg3d.interface.AnisotropyWidgets method)</a>

objects.inv

-9 Bytes
Binary file not shown.

res/code/model_framework.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,19 +188,13 @@ <h3>Methods<a class="headerlink" href="#methods" title="Permalink to this headli
188188

189189
<dl class="py method">
190190
<dt class="sig sig-object py">
191-
<span class="sig-name descname"><span class="pre">get_model</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">key</span></span></em><span class="sig-paren">)</span></dt>
192-
<dd><p>Getter for module (class and functions) associated to currently selected model</p>
193-
</dd></dl>
194-
195-
<dl class="py method">
196-
<dt class="sig sig-object py">
197-
<span class="sig-name descname"><span class="pre">save_log</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span></dt>
191+
<span class="sig-name descname"><span class="pre">save_log</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">do_timestamp</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span></dt>
198192
<dd><p>Saves the worker’s log to disk at self.results_path when called</p>
199193
</dd></dl>
200194

201195
<dl class="py method">
202196
<dt class="sig sig-object py">
203-
<span class="sig-name descname"><span class="pre">save_log_to_path</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em><span class="sig-paren">)</span></dt>
197+
<span class="sig-name descname"><span class="pre">save_log_to_path</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">do_timestamp</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span></dt>
204198
<dd><p>Saves the worker log to a specific path. Cannot be used with connect.</p>
205199
<dl class="field-list simple">
206200
<dt class="field-odd">Parameters</dt>

res/code/utils.html

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
<li class="toctree-l3"><a class="reference internal" href="#get-time">get_time</a></li>
8787
<li class="toctree-l3"><a class="reference internal" href="#time-difference">time_difference</a></li>
8888
<li class="toctree-l3"><a class="reference internal" href="#get-time-filepath">get_time_filepath</a></li>
89-
<li class="toctree-l3"><a class="reference internal" href="#save-stack">save_stack</a></li>
9089
<li class="toctree-l3"><a class="reference internal" href="#get-padding-dim">get_padding_dim</a></li>
9190
<li class="toctree-l3"><a class="reference internal" href="#dice-coeff">dice_coeff</a></li>
9291
<li class="toctree-l3"><a class="reference internal" href="#sphericity-volume-area">sphericity_volume_area</a></li>
@@ -186,23 +185,6 @@ <h3>get_time_filepath<a class="headerlink" href="#get-time-filepath" title="Perm
186185
<dd><p>Get time in the following format : hour_minute_second. Compatible with saving</p>
187186
</dd></dl>
188187

189-
</section>
190-
<section id="save-stack">
191-
<h3>save_stack<a class="headerlink" href="#save-stack" title="Permalink to this headline"></a></h3>
192-
<dl class="py function">
193-
<dt class="sig sig-object py" id="napari_cellseg3d.utils.save_stack">
194-
<span class="sig-prename descclassname"><span class="pre">napari_cellseg3d.utils.</span></span><span class="sig-name descname"><span class="pre">save_stack</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">images</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">out_path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">filetype</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'.png'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">check_warnings</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#napari_cellseg3d.utils.save_stack" title="Permalink to this definition"></a></dt>
195-
<dd><p>Saves the files in labels at location out_path as a stack of len(labels) .png files</p>
196-
<dl class="field-list simple">
197-
<dt class="field-odd">Parameters</dt>
198-
<dd class="field-odd"><ul class="simple">
199-
<li><p><strong>images</strong> – array of label images</p></li>
200-
<li><p><strong>out_path</strong> – path to the directory for saving</p></li>
201-
</ul>
202-
</dd>
203-
</dl>
204-
</dd></dl>
205-
206188
</section>
207189
<section id="get-padding-dim">
208190
<h3>get_padding_dim<a class="headerlink" href="#get-padding-dim" title="Permalink to this headline"></a></h3>
@@ -230,7 +212,7 @@ <h3>get_padding_dim<a class="headerlink" href="#get-padding-dim" title="Permalin
230212
<h3>dice_coeff<a class="headerlink" href="#dice-coeff" title="Permalink to this headline"></a></h3>
231213
<dl class="py function">
232214
<dt class="sig sig-object py" id="napari_cellseg3d.utils.dice_coeff">
233-
<span class="sig-prename descclassname"><span class="pre">napari_cellseg3d.utils.</span></span><span class="sig-name descname"><span class="pre">dice_coeff</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">y_true</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y_pred</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#napari_cellseg3d.utils.dice_coeff" title="Permalink to this definition"></a></dt>
215+
<span class="sig-prename descclassname"><span class="pre">napari_cellseg3d.utils.</span></span><span class="sig-name descname"><span class="pre">dice_coeff</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">y_true</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y_pred</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">smooth</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1.0</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#napari_cellseg3d.utils.dice_coeff" title="Permalink to this definition"></a></dt>
234216
<dd><p>Compute Dice-Sorensen coefficient between two numpy arrays</p>
235217
<dl class="field-list simple">
236218
<dt class="field-odd">Parameters</dt>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)