Skip to content

Commit

Permalink
version update
Browse files Browse the repository at this point in the history
  • Loading branch information
fzalkow committed Nov 29, 2021
1 parent 06bd91c commit 1f25dfa
Show file tree
Hide file tree
Showing 31 changed files with 86 additions and 75 deletions.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/index_c4.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.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: adf48a7236c968aeab2838fb6687ebb3
config: 109ecb0bc54e565f7ee035de31fe8f07
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Overview: module code &mdash; libfmp 1.2.1 documentation</title>
<title>Overview: module code &mdash; libfmp 1.2.2 documentation</title>



Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.2.1
1.2.2
</div>


Expand Down
6 changes: 4 additions & 2 deletions docs/build/html/_modules/libfmp/b/b_plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>libfmp.b.b_plot &mdash; libfmp 1.1.2 documentation</title>
<title>libfmp.b.b_plot &mdash; libfmp 1.2.0 documentation</title>



Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.1.2
1.2.0
</div>


Expand Down Expand Up @@ -302,6 +302,8 @@ <h1>Source code for libfmp.b.b_plot</h1><div class="highlight"><pre>
<span class="n">kwargs</span><span class="p">[</span><span class="s1">&#39;aspect&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;auto&#39;</span>
<span class="k">if</span> <span class="s1">&#39;origin&#39;</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">kwargs</span><span class="p">:</span>
<span class="n">kwargs</span><span class="p">[</span><span class="s1">&#39;origin&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;lower&#39;</span>
<span class="k">if</span> <span class="s1">&#39;interpolation&#39;</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">kwargs</span><span class="p">:</span>
<span class="n">kwargs</span><span class="p">[</span><span class="s1">&#39;interpolation&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;nearest&#39;</span>

<span class="n">im</span> <span class="o">=</span> <span class="n">ax</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="n">X</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>

Expand Down
18 changes: 11 additions & 7 deletions docs/build/html/_modules/libfmp/c4/c4s2_ssm.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>libfmp.c4.c4s2_ssm &mdash; libfmp 1.1.2 documentation</title>
<title>libfmp.c4.c4s2_ssm &mdash; libfmp 1.2.0 documentation</title>



Expand Down Expand Up @@ -67,7 +67,7 @@


<div class="version">
1.1.2
1.2.0
</div>


Expand Down Expand Up @@ -288,7 +288,7 @@ <h1>Source code for libfmp.c4.c4s2_ssm</h1><div class="highlight"><pre>

<div class="viewcode-block" id="subplot_matrix_colorbar"><a class="viewcode-back" href="../../../index_c4.html#libfmp.c4.c4s2_ssm.subplot_matrix_colorbar">[docs]</a><span class="k">def</span> <span class="nf">subplot_matrix_colorbar</span><span class="p">(</span><span class="n">S</span><span class="p">,</span> <span class="n">fig</span><span class="p">,</span> <span class="n">ax</span><span class="p">,</span> <span class="n">title</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">Fs</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
<span class="n">xlabel</span><span class="o">=</span><span class="s1">&#39;Time (seconds)&#39;</span><span class="p">,</span> <span class="n">ylabel</span><span class="o">=</span><span class="s1">&#39;Time (seconds)&#39;</span><span class="p">,</span>
<span class="n">clim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">xlim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ylim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="n">clim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">xlim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ylim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">interpolation</span><span class="o">=</span><span class="s1">&#39;nearest&#39;</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Visualization function for showing zoomed sections of matrices</span>

<span class="sd"> Notebook: C4/C4S2_SSM-PathEnhancement.ipynb</span>
Expand All @@ -305,6 +305,7 @@ <h1>Source code for libfmp.c4.c4s2_ssm</h1><div class="highlight"><pre>
<span class="sd"> xlim: Limits for x-axis (Default value = None)</span>
<span class="sd"> ylim: Limits for x-axis (Default value = None)</span>
<span class="sd"> cmap: Colormap for imshow (Default value = None)</span>
<span class="sd"> interpolation: Interpolation value for imshow (Default value = &#39;nearest&#39;)</span>

<span class="sd"> Returns:</span>
<span class="sd"> im: Imshow handle</span>
Expand All @@ -313,7 +314,7 @@ <h1>Source code for libfmp.c4.c4s2_ssm</h1><div class="highlight"><pre>
<span class="n">cmap</span> <span class="o">=</span> <span class="n">libfmp</span><span class="o">.</span><span class="n">b</span><span class="o">.</span><span class="n">compressed_gray_cmap</span><span class="p">(</span><span class="n">alpha</span><span class="o">=-</span><span class="mi">100</span><span class="p">)</span>
<span class="n">len_sec</span> <span class="o">=</span> <span class="n">S</span><span class="o">.</span><span class="n">shape</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">/</span> <span class="n">Fs</span>
<span class="n">extent</span> <span class="o">=</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="n">len_sec</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">len_sec</span><span class="p">]</span>
<span class="n">im</span> <span class="o">=</span> <span class="n">ax</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="n">S</span><span class="p">,</span> <span class="n">aspect</span><span class="o">=</span><span class="s1">&#39;auto&#39;</span><span class="p">,</span> <span class="n">extent</span><span class="o">=</span><span class="n">extent</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="n">cmap</span><span class="p">,</span> <span class="n">origin</span><span class="o">=</span><span class="s1">&#39;lower&#39;</span><span class="p">)</span>
<span class="n">im</span> <span class="o">=</span> <span class="n">ax</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="n">S</span><span class="p">,</span> <span class="n">aspect</span><span class="o">=</span><span class="s1">&#39;auto&#39;</span><span class="p">,</span> <span class="n">extent</span><span class="o">=</span><span class="n">extent</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="n">cmap</span><span class="p">,</span> <span class="n">origin</span><span class="o">=</span><span class="s1">&#39;lower&#39;</span><span class="p">,</span> <span class="n">interpolation</span><span class="o">=</span><span class="n">interpolation</span><span class="p">)</span>
<span class="n">fig</span><span class="o">.</span><span class="n">sca</span><span class="p">(</span><span class="n">ax</span><span class="p">)</span>
<span class="n">fig</span><span class="o">.</span><span class="n">colorbar</span><span class="p">(</span><span class="n">im</span><span class="p">)</span>
<span class="n">ax</span><span class="o">.</span><span class="n">set_title</span><span class="p">(</span><span class="n">title</span><span class="p">)</span>
Expand Down Expand Up @@ -469,7 +470,8 @@ <h1>Source code for libfmp.c4.c4s2_ssm</h1><div class="highlight"><pre>


<div class="viewcode-block" id="subplot_matrix_ti_colorbar"><a class="viewcode-back" href="../../../index_c4.html#libfmp.c4.c4s2_ssm.subplot_matrix_ti_colorbar">[docs]</a><span class="k">def</span> <span class="nf">subplot_matrix_ti_colorbar</span><span class="p">(</span><span class="n">S</span><span class="p">,</span> <span class="n">fig</span><span class="p">,</span> <span class="n">ax</span><span class="p">,</span> <span class="n">title</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">,</span> <span class="n">Fs</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">xlabel</span><span class="o">=</span><span class="s1">&#39;Time (seconds)&#39;</span><span class="p">,</span> <span class="n">ylabel</span><span class="o">=</span><span class="s1">&#39;Time (seconds)&#39;</span><span class="p">,</span>
<span class="n">clim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">xlim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ylim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">alpha</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">ind_zero</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="n">clim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">xlim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ylim</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">alpha</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">interpolation</span><span class="o">=</span><span class="s1">&#39;nearest&#39;</span><span class="p">,</span>
<span class="n">ind_zero</span><span class="o">=</span><span class="kc">False</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Visualization function for showing transposition index matrix</span>

<span class="sd"> Notebook: C4/C4S2_SSM-TranspositionInvariance.ipynb</span>
Expand All @@ -486,7 +488,8 @@ <h1>Source code for libfmp.c4.c4s2_ssm</h1><div class="highlight"><pre>
<span class="sd"> xlim: Limits for x-axis (Default value = None)</span>
<span class="sd"> ylim: Limits for y-axis (Default value = None)</span>
<span class="sd"> cmap: Color map (Default value = None)</span>
<span class="sd"> alpha: Alpha value for imsow (Default value = 1)</span>
<span class="sd"> alpha: Alpha value for imshow (Default value = 1)</span>
<span class="sd"> interpolation: Interpolation value for imshow (Default value = &#39;nearest&#39;)</span>
<span class="sd"> ind_zero: Use white (True) or black (False) color for index zero (Default value = False)</span>

<span class="sd"> Returns:</span>
Expand All @@ -504,7 +507,8 @@ <h1>Source code for libfmp.c4.c4s2_ssm</h1><div class="highlight"><pre>
<span class="n">cmap</span> <span class="o">=</span> <span class="n">ListedColormap</span><span class="p">(</span><span class="n">colorList</span><span class="p">)</span>
<span class="n">len_sec</span> <span class="o">=</span> <span class="n">S</span><span class="o">.</span><span class="n">shape</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">/</span> <span class="n">Fs</span>
<span class="n">extent</span> <span class="o">=</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="n">len_sec</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">len_sec</span><span class="p">]</span>
<span class="n">im</span> <span class="o">=</span> <span class="n">ax</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="n">S</span><span class="p">,</span> <span class="n">aspect</span><span class="o">=</span><span class="s1">&#39;auto&#39;</span><span class="p">,</span> <span class="n">extent</span><span class="o">=</span><span class="n">extent</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="n">cmap</span><span class="p">,</span> <span class="n">origin</span><span class="o">=</span><span class="s1">&#39;lower&#39;</span><span class="p">,</span> <span class="n">alpha</span><span class="o">=</span><span class="n">alpha</span><span class="p">)</span>
<span class="n">im</span> <span class="o">=</span> <span class="n">ax</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="n">S</span><span class="p">,</span> <span class="n">aspect</span><span class="o">=</span><span class="s1">&#39;auto&#39;</span><span class="p">,</span> <span class="n">extent</span><span class="o">=</span><span class="n">extent</span><span class="p">,</span> <span class="n">cmap</span><span class="o">=</span><span class="n">cmap</span><span class="p">,</span> <span class="n">origin</span><span class="o">=</span><span class="s1">&#39;lower&#39;</span><span class="p">,</span> <span class="n">alpha</span><span class="o">=</span><span class="n">alpha</span><span class="p">,</span>
<span class="n">interpolation</span><span class="o">=</span><span class="n">interpolation</span><span class="p">)</span>
<span class="k">if</span> <span class="n">clim</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">im</span><span class="o">.</span><span class="n">set_clim</span><span class="p">(</span><span class="n">vmin</span><span class="o">=-</span><span class="mf">0.5</span><span class="p">,</span> <span class="n">vmax</span><span class="o">=</span><span class="mf">11.5</span><span class="p">)</span>
<span class="n">fig</span><span class="o">.</span><span class="n">sca</span><span class="p">(</span><span class="n">ax</span><span class="p">)</span>
Expand Down
Loading

0 comments on commit 1f25dfa

Please sign in to comment.