Skip to content

Commit

Permalink
Deploy 197350c
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter authored and github-actions[bot] committed Jul 13, 2024
1 parent 550775d commit 16648c3
Show file tree
Hide file tree
Showing 40 changed files with 114 additions and 64 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/.doctrees/release-notes/v0.0.doctree
Binary file not shown.
Binary file modified v0.0.x/_images/sdr_MSK_6.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_MSK_7.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_MSK_8.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_OQPSK_5.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_OQPSK_6.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_OQPSK_7.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_PSK_5.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_PSK_6.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_PSK_7.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_PiMPSK_5.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_PiMPSK_6.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_PiMPSK_7.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_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_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_to_complex_baseband_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_baseband_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_baseband_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_baseband_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_passband_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_passband_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_passband_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_passband_4.png
19 changes: 19 additions & 0 deletions v0.0.x/_sources/release-notes/v0.0.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ tocdepth: 2

# v0.0

## v0.0.22

*Released July 13, 2024*

### Changes

- Added support for NumPy v2.
- Increased required `galois` version to `v0.4.1`.
- Added calculation of instantaneous power in `sdr.power()`.
- Refactored `sdr.binary_code()` and `sdr.gray_code()` to accept `length`, not `degree`.
- Reworked argument verification of entire public API.
- Improved nuisance warning suppression.
- Improved documentation.
- Fixed minor bugs.

### Contributors

- Matt Hostetter ([@mhostetter](https://github.com/mhostetter))

## v0.0.21

*Released June 15, 2024*
Expand Down
6 changes: 3 additions & 3 deletions v0.0.x/api/sdr.bec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14177,13 +14177,13 @@

<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([ 0, 1, 1, 0, 1, -1, 1, -1, 1, 1, -1, 0, 0, 1, 0, 0, 0,</span>
<span class="go">array([ 0, 1, 1, 0, 1, 1, -1, 1, 1, 1, 1, 0, -1, 1, 0, -1, -1,</span>
<span class="go"> 0, 0, 1])</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, False, True, False, True,</span>
<span class="go"> True, False, True, True, True, True, True, True, True,</span>
<span class="go">array([ True, True, True, True, True, True, False, True, True,</span>
<span class="go"> True, True, True, False, True, True, False, False, True,</span>
<span class="go"> True, True])</span>
</code></pre></div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions v0.0.x/api/sdr.bsc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14176,12 +14176,12 @@
<span class="gh">Out[1]: </span><span class="go">array([0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 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, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1])</span>
<span class="gh">Out[2]: </span><span class="go">array([0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1])</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, True, True, False, False, False, True, True,</span>
<span class="go">array([ True, True, True, False, True, True, True, False, False,</span>
<span class="go"> True, False, True, False, True, False, True, True, False,</span>
<span class="go"> True, True])</span>
</code></pre></div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions v0.0.x/api/sdr.dmc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14213,13 +14213,13 @@
<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([1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0])</span>
<span class="gh">Out[4]: </span><span class="go">array([0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0])</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([False, False, False, True, True, True, True, True, False,</span>
<span class="go"> True, True, False, True, True, True, True, True, True,</span>
<span class="go"> False, False])</span>
<span class="go">array([ True, False, True, True, True, False, True, False, True,</span>
<span class="go"> True, False, True, True, True, False, True, False, True,</span>
<span class="go"> True, False])</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>
Expand All @@ -14233,13 +14233,13 @@
<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([ 0, 1, 1, 0, 1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 0, 0, -1,</span>
<span class="go"> -1, 0, 1])</span>
<span class="go">array([ 0, 1, -1, 0, 1, 1, 1, -1, 1, 1, -1, -1, 0, 1, 0, -1, 0,</span>
<span class="go"> 0, 0, 1])</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, True, True, True, True, False, True, False, True,</span>
<span class="go"> False, True, False, False, True, True, True, False, False,</span>
<span class="go">array([ True, True, False, True, True, True, True, False, True,</span>
<span class="go"> True, False, False, True, True, True, False, 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 @@ -14229,25 +14229,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">np.float64(9.972638692664466)</span>
<span class="gh">Out[3]: </span><span class="go">np.float64(9.944142819281346)</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">np.float64(9.972638692664466)</span>
<span class="gh">Out[4]: </span><span class="go">np.float64(9.944142819281346)</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">np.float64(9.92878907949433)</span>
<span class="gh">Out[5]: </span><span class="go">np.float64(9.870735502922448)</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">np.float64(8.052462484125918)</span>
<span class="gh">Out[6]: </span><span class="go">np.float64(8.26361201100507)</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">np.float64(17.43824827942375)</span>
<span class="gh">Out[7]: </span><span class="go">np.float64(17.139609342107327)</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.
Loading

0 comments on commit 16648c3

Please sign in to comment.