Skip to content

Commit

Permalink
Deploy 272624c
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter authored and github-actions[bot] committed Aug 16, 2023
1 parent e16a8b5 commit 2dc2a39
Show file tree
Hide file tree
Showing 33 changed files with 26 additions and 26 deletions.
Binary file modified v0.0.x/.doctrees/api/sdr.bec.doctree
Binary file not shown.
Binary file modified v0.0.x/.doctrees/api/sdr.bsc.doctree
Binary file not shown.
Binary file modified v0.0.x/.doctrees/api/sdr.dmc.doctree
Binary file not shown.
Binary file modified v0.0.x/.doctrees/api/sdr.evm.doctree
Binary file not shown.
Binary file modified v0.0.x/.doctrees/environment.pickle
Binary file not shown.
Binary file modified v0.0.x/_images/sdr_awgn_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_awgn_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_evm_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_evm_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_frequency_offset_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_frequency_offset_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_plot_constellation_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_plot_constellation_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_plot_eye_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_plot_eye_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_plot_time_domain_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_plot_time_domain_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_sample_rate_offset_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_sample_rate_offset_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_complex_bb_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_complex_bb_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_complex_bb_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_complex_bb_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_real_pb_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_real_pb_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_real_pb_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified v0.0.x/_images/sdr_to_real_pb_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions v0.0.x/api/sdr.bec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7084,17 +7084,17 @@
<p>When 20 bits are passed through a BEC with erasure probability <span class="math notranslate nohighlight">\(p=0.25\)</span>,
roughly 5 bits are erased at the output.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [1]: </span><span class="n">x</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">20</span><span class="p">);</span> <span class="n">x</span>
<span class="gh">Out[1]: </span><span class="go">array([1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1])</span>
<span class="gh">Out[1]: </span><span class="go">array([1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0])</span>

<span class="gp">In [2]: </span><span class="n">y</span> <span class="o">=</span> <span class="n">sdr</span><span class="o">.</span><span class="n">bec</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="mf">0.25</span><span class="p">);</span> <span class="n">y</span>
<span class="gh">Out[2]: </span>
<span class="go">array([ 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, -1, 0, 1, 0, 0, 1,</span>
<span class="go"> 1, 1, 1])</span>
<span class="go">array([ 1, -1, -1, -1, 1, 0, 0, 1, -1, -1, -1, 0, 1, 0, 1, 0, 1,</span>
<span class="go"> -1, 0, 0])</span>

<span class="gp">In [3]: </span><span class="n">x</span> <span class="o">==</span> <span class="n">y</span>
<span class="gh">Out[3]: </span>
<span class="go">array([ True, True, True, True, True, True, True, True, True,</span>
<span class="go"> True, True, False, True, True, True, True, True, True,</span>
<span class="go">array([ True, False, False, False, True, True, True, True, False,</span>
<span class="go"> False, False, True, True, True, True, True, True, False,</span>
<span class="go"> True, True])</span>
</code></pre></div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions v0.0.x/api/sdr.bsc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7084,16 +7084,16 @@
<p>When 20 bits are passed through a BSC with transition probability <span class="math notranslate nohighlight">\(p=0.25\)</span>,
roughly 5 bits are flipped at the output.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [1]: </span><span class="n">x</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">20</span><span class="p">);</span> <span class="n">x</span>
<span class="gh">Out[1]: </span><span class="go">array([0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1])</span>
<span class="gh">Out[1]: </span><span class="go">array([0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1])</span>

<span class="gp">In [2]: </span><span class="n">y</span> <span class="o">=</span> <span class="n">sdr</span><span class="o">.</span><span class="n">bsc</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="mf">0.25</span><span class="p">);</span> <span class="n">y</span>
<span class="gh">Out[2]: </span><span class="go">array([0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1])</span>
<span class="gh">Out[2]: </span><span class="go">array([0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0])</span>

<span class="gp">In [3]: </span><span class="n">x</span> <span class="o">==</span> <span class="n">y</span>
<span class="gh">Out[3]: </span>
<span class="go">array([ True, True, True, True, False, True, True, True, True,</span>
<span class="go"> True, True, True, True, True, True, True, False, True,</span>
<span class="go"> True, True])</span>
<span class="go">array([ True, False, True, True, True, True, False, False, True,</span>
<span class="go"> True, True, True, True, True, True, True, True, True,</span>
<span class="go"> False, False])</span>
</code></pre></div>
</div>
</dd></dl>
Expand Down
20 changes: 10 additions & 10 deletions v0.0.x/api/sdr.dmc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7119,38 +7119,38 @@
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [1]: </span><span class="n">p</span> <span class="o">=</span> <span class="mf">0.25</span>

<span class="gp">In [2]: </span><span class="n">x</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">20</span><span class="p">);</span> <span class="n">x</span>
<span class="gh">Out[2]: </span><span class="go">array([0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1])</span>
<span class="gh">Out[2]: </span><span class="go">array([0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1])</span>

<span class="gp">In [3]: </span><span class="n">P</span> <span class="o">=</span> <span class="p">[[</span><span class="mi">1</span> <span class="o">-</span> <span class="n">p</span><span class="p">,</span> <span class="n">p</span><span class="p">],</span> <span class="p">[</span><span class="n">p</span><span class="p">,</span> <span class="mi">1</span> <span class="o">-</span> <span class="n">p</span><span class="p">]]</span>

<span class="gp">In [4]: </span><span class="n">y</span> <span class="o">=</span> <span class="n">sdr</span><span class="o">.</span><span class="n">dmc</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">P</span><span class="p">);</span> <span class="n">y</span>
<span class="gh">Out[4]: </span><span class="go">array([0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0])</span>
<span class="gh">Out[4]: </span><span class="go">array([0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1])</span>

<span class="gp">In [5]: </span><span class="n">x</span> <span class="o">==</span> <span class="n">y</span>
<span class="gh">Out[5]: </span>
<span class="go">array([ True, True, True, False, False, False, True, True, True,</span>
<span class="go"> False, False, True, True, True, True, True, True, True,</span>
<span class="go"> True, False])</span>
<span class="go">array([ True, False, True, False, True, True, False, True, True,</span>
<span class="go"> False, False, True, False, True, False, True, False, True,</span>
<span class="go"> True, True])</span>
</code></pre></div>
</div>
<p>Define the binary erasure channel (BEC) with erasure probability <span class="math notranslate nohighlight">\(p=0.25\)</span>.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [6]: </span><span class="n">p</span> <span class="o">=</span> <span class="mf">0.25</span>

<span class="gp">In [7]: </span><span class="n">x</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">20</span><span class="p">);</span> <span class="n">x</span>
<span class="gh">Out[7]: </span><span class="go">array([1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0])</span>
<span class="gh">Out[7]: </span><span class="go">array([1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0])</span>

<span class="gp">In [8]: </span><span class="n">P</span> <span class="o">=</span> <span class="p">[[</span><span class="mi">1</span> <span class="o">-</span> <span class="n">p</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">p</span><span class="p">],</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span> <span class="o">-</span> <span class="n">p</span><span class="p">,</span> <span class="n">p</span><span class="p">]]</span>

<span class="go"># Specify the erasure as -1</span>
<span class="gp">In [9]: </span><span class="n">y</span> <span class="o">=</span> <span class="n">sdr</span><span class="o">.</span><span class="n">dmc</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">P</span><span class="p">,</span> <span class="n">Y</span><span class="o">=</span><span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span><span class="p">]);</span> <span class="n">y</span>
<span class="gh">Out[9]: </span>
<span class="go">array([ 1, -1, 1, 1, 0, -1, -1, 1, -1, -1, 0, 0, 0, 1, 1, 1, 0,</span>
<span class="go"> 1, 0, 0])</span>
<span class="go">array([-1, -1, -1, 1, -1, 1, -1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1,</span>
<span class="go"> 0, 0, 0])</span>

<span class="gp">In [10]: </span><span class="n">x</span> <span class="o">==</span> <span class="n">y</span>
<span class="gh">Out[10]: </span>
<span class="go">array([ True, False, True, True, True, False, False, True, False,</span>
<span class="go"> False, True, True, True, True, True, True, True, True,</span>
<span class="go">array([False, False, False, True, False, True, False, True, True,</span>
<span class="go"> True, True, True, True, True, True, True, True, True,</span>
<span class="go"> True, True])</span>
</code></pre></div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions v0.0.x/api/sdr.evm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7156,25 +7156,25 @@
<p>Measure the RMS EVM, normalizing with the average power of the reference symbols.
Either the symbol map or noiseless transmitted symbols may be passed.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [3]: </span><span class="n">sdr</span><span class="o">.</span><span class="n">evm</span><span class="p">(</span><span class="n">x_hat</span><span class="p">,</span> <span class="n">psk</span><span class="o">.</span><span class="n">symbol_map</span><span class="p">)</span>
<span class="gh">Out[3]: </span><span class="go">10.026025820795814</span>
<span class="gh">Out[3]: </span><span class="go">10.091294076180084</span>

<span class="gp">In [4]: </span><span class="n">sdr</span><span class="o">.</span><span class="n">evm</span><span class="p">(</span><span class="n">x_hat</span><span class="p">,</span> <span class="n">x</span><span class="p">)</span>
<span class="gh">Out[4]: </span><span class="go">10.026025820795814</span>
<span class="gh">Out[4]: </span><span class="go">10.091294076180084</span>
</code></pre></div>
</div>
<p>Measure the RMS EVM, normalizing with the average power of the received symbols.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [5]: </span><span class="n">sdr</span><span class="o">.</span><span class="n">evm</span><span class="p">(</span><span class="n">x_hat</span><span class="p">,</span> <span class="n">psk</span><span class="o">.</span><span class="n">symbol_map</span><span class="p">,</span> <span class="n">norm</span><span class="o">=</span><span class="s2">&quot;average-power&quot;</span><span class="p">)</span>
<span class="gh">Out[5]: </span><span class="go">9.994320702850194</span>
<span class="gh">Out[5]: </span><span class="go">10.024345122823132</span>
</code></pre></div>
</div>
<p>Measure the RMS EVM, normalizing with the peak power of the received symbols.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [6]: </span><span class="n">sdr</span><span class="o">.</span><span class="n">evm</span><span class="p">(</span><span class="n">x_hat</span><span class="p">,</span> <span class="n">psk</span><span class="o">.</span><span class="n">symbol_map</span><span class="p">,</span> <span class="n">norm</span><span class="o">=</span><span class="s2">&quot;peak-power&quot;</span><span class="p">)</span>
<span class="gh">Out[6]: </span><span class="go">8.37067640883675</span>
<span class="gh">Out[6]: </span><span class="go">8.201583130567125</span>
</code></pre></div>
</div>
<p>Measure the 95th percentile EVM.</p>
<div class="highlight-ipython notranslate"><div class="highlight"><pre><span></span><code><span class="gp">In [7]: </span><span class="n">sdr</span><span class="o">.</span><span class="n">evm</span><span class="p">(</span><span class="n">x_hat</span><span class="p">,</span> <span class="n">psk</span><span class="o">.</span><span class="n">symbol_map</span><span class="p">,</span> <span class="n">output</span><span class="o">=</span><span class="mi">95</span><span class="p">)</span>
<span class="gh">Out[7]: </span><span class="go">17.895660809761946</span>
<span class="gh">Out[7]: </span><span class="go">17.62072237262635</span>
</code></pre></div>
</div>
<p>Measure the instantaneous EVM for each symbol.</p>
Expand Down
Binary file modified v0.0.x/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion v0.0.x/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 2dc2a39

Please sign in to comment.