diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-02-03 16:58:15 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-02-03 16:58:43 +0100 |
commit | db7e26bc73fd71bc88249131f57f7edef308fa63 (patch) | |
tree | d084ad2615012d53c50a230821761349eb978d56 /gr-fec/python | |
parent | 3c63f7334d6de70d655aa97fcccbfb950645f4d4 (diff) | |
parent | a35e10870bbb9a71b3ab66b1dc58135e08c9543e (diff) |
Merge branch 'master' into next
Diffstat (limited to 'gr-fec/python')
-rw-r--r-- | gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py | 2 | ||||
-rw-r--r-- | gr-fec/python/fec/polar/channel_construction_bec.py | 2 | ||||
-rw-r--r-- | gr-fec/python/fec/polar/helper_functions.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py index c42fee631f..589595bbd5 100644 --- a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py +++ b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py @@ -55,7 +55,7 @@ def read_alist_file(filename): def write_alist_file(filename, H, verbose=0): """ This function writes an alist file for the parity check - matrix. The format of alist files is desribed at: + matrix. The format of alist files is described at: http://www.inference.phy.cam.ac.uk/mackay/codes/alist.html """ diff --git a/gr-fec/python/fec/polar/channel_construction_bec.py b/gr-fec/python/fec/polar/channel_construction_bec.py index 4b35602d96..acad720036 100644 --- a/gr-fec/python/fec/polar/channel_construction_bec.py +++ b/gr-fec/python/fec/polar/channel_construction_bec.py @@ -27,7 +27,7 @@ def bec_channel(eta): binary erasure channel (BEC) for each y e Y W(y|0) * W(y|1) = 0 or W(y|0) = W(y|1) - transistions are 1 -> 1 or 0 -> 0 or {0, 1} -> ? (erased symbol) + transitions are 1 -> 1 or 0 -> 0 or {0, 1} -> ? (erased symbol) ''' # looks like BSC but should be interpreted differently. w = np.array((1 - eta, eta, 1 - eta), dtype=float) diff --git a/gr-fec/python/fec/polar/helper_functions.py b/gr-fec/python/fec/polar/helper_functions.py index 85140c856f..a4ecb1f0ff 100644 --- a/gr-fec/python/fec/polar/helper_functions.py +++ b/gr-fec/python/fec/polar/helper_functions.py @@ -30,7 +30,7 @@ def bsc_channel(p): W(0|0) = W(1|1) and W(1|0) = W(0|1) this function returns a prob's vector for a BSC - p denotes an erroneous transistion + p denotes an erroneous transition ''' if not (p >= 0.0 and p <= 1.0): print "given p is out of range!" |