Skip to content

Commit

Permalink
Clean up docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed May 29, 2024
1 parent f07a512 commit 7cc3f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdr/_measurement/_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ class ErrorRate:
.. ipython:: python
x_hat = [1, 0, 1, 1, 1]; \
x_hat = [1, 0, 1, 1, 1]
ber.add(10, x, x_hat)
Measure and accumulate bit errors from the second received bit vector containing 2 bit errors at 10 dB SNR.
The bit error rate of the second received bit vector is 0.4.
.. ipython:: python
x_hat = [1, 0, 1, 0, 1]; \
x_hat = [1, 0, 1, 0, 1]
ber.add(10, x, x_hat)
The total errors are 3, total bits 10, and average bit error rate 0.3.
Expand Down

0 comments on commit 7cc3f6e

Please sign in to comment.