Skip to content

Commit

Permalink
Deploying to gh-pages from @ 70a6888 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
psomhorst committed Apr 5, 2024
1 parent af595c3 commit d1db062
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions _modules/eitprocessing/datahandling/eitdata.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ <h1>Source code for eitprocessing.datahandling.eitdata</h1><div class="highlight
<span class="kn">from</span> <span class="nn">eitprocessing.datahandling.mixins.slicing</span> <span class="kn">import</span> <span class="n">SelectByTime</span>

<span class="k">if</span> <span class="n">TYPE_CHECKING</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">numpy.typing</span> <span class="kn">import</span> <span class="n">NDArray</span>

<span class="kn">from</span> <span class="nn">eitprocessing.datahandling.eitdata</span> <span class="kn">import</span> <span class="n">Vendor</span>

<div class="viewcode-block" id="T">
Expand Down
6 changes: 3 additions & 3 deletions _modules/eitprocessing/datahandling/mixins/slicing.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ <h1>Source code for eitprocessing.datahandling.mixins.slicing</h1><div class="hi

<span class="sd"> Example:</span>
<span class="sd"> ```</span>
<span class="sd"> &gt;&gt;&gt; data = EITData.from_path(&lt;path&gt;, ...)</span>
<span class="sd"> &gt;&gt;&gt; time_slice1 = data.t[tp_start:tp_end]</span>
<span class="sd"> &gt;&gt;&gt; time_slice2 = data.select_by_time(tp_start, tp_end)</span>
<span class="sd"> &gt;&gt;&gt; sequence = load_eit_data(&lt;path&gt;, ...)</span>
<span class="sd"> &gt;&gt;&gt; time_slice1 = sequence.t[tp_start:tp_end]</span>
<span class="sd"> &gt;&gt;&gt; time_slice2 = sequence.select_by_time(tp_start, tp_end)</span>
<span class="sd"> &gt;&gt;&gt; time_slice1 == time_slice2</span>
<span class="sd"> True</span>
<span class="sd"> ```</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ Classes

Example:
```
>>> data = EITData.from_path(<path>, ...)
>>> time_slice1 = data.t[tp_start:tp_end]
>>> time_slice2 = data.select_by_time(tp_start, tp_end)
>>> sequence = load_eit_data(<path>, ...)
>>> time_slice1 = sequence.t[tp_start:tp_end]
>>> time_slice2 = sequence.select_by_time(tp_start, tp_end)
>>> time_slice1 == time_slice2
True
```
Expand Down
6 changes: 3 additions & 3 deletions autoapi/eitprocessing/datahandling/mixins/slicing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ <h3>Classes<a class="headerlink" href="#classes" title="Link to this heading">¶
<dd><p>Helper class for slicing an object using the time axis instead of indices.</p>
<p>Example:
<code class="docutils literal notranslate"><span class="pre">`</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">data</span> <span class="pre">=</span> <span class="pre">EITData.from_path(&lt;path&gt;,</span> <span class="pre">...)</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">time_slice1</span> <span class="pre">=</span> <span class="pre">data.t[tp_start:tp_end]</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">time_slice2</span> <span class="pre">=</span> <span class="pre">data.select_by_time(tp_start,</span> <span class="pre">tp_end)</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">sequence</span> <span class="pre">=</span> <span class="pre">load_eit_data(&lt;path&gt;,</span> <span class="pre">...)</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">time_slice1</span> <span class="pre">=</span> <span class="pre">sequence.t[tp_start:tp_end]</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">time_slice2</span> <span class="pre">=</span> <span class="pre">sequence.select_by_time(tp_start,</span> <span class="pre">tp_end)</span>
<span class="pre">&gt;&gt;&gt;</span> <span class="pre">time_slice1</span> <span class="pre">==</span> <span class="pre">time_slice2</span>
<span class="pre">True</span>
<span class="pre">`</span></code></p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit d1db062

Please sign in to comment.