diff options
author | Nao Pross <np@0hm.ch> | 2021-12-11 14:08:50 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-11 14:08:50 +0100 |
commit | 3719288b70e42fb2adf0e3a317e8b2c73e7d4c0e (patch) | |
tree | 812d73bd351621e4ed5cfe363e8609e84e45706c /tests/fadingui/QAM/hammingtest.py | |
parent | Correctly decode symbols (diff) | |
download | Fading-3719288b70e42fb2adf0e3a317e8b2c73e7d4c0e.tar.gz Fading-3719288b70e42fb2adf0e3a317e8b2c73e7d4c0e.zip |
Delete old stuff
Diffstat (limited to '')
-rwxr-xr-x | tests/fadingui/QAM/hammingtest.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/fadingui/QAM/hammingtest.py b/tests/fadingui/QAM/hammingtest.py deleted file mode 100755 index b72e386..0000000 --- a/tests/fadingui/QAM/hammingtest.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python3 -import numpy as np -from fadingui import frame_obj - -f = frame_obj([1,0], 10) -q = np.random.randint(0, 2, size=26) - -parity = f.parity(q) -enc = np.concatenate([q, parity]) - -print(q) -print(parity) -print(enc) -print(f.syndrome(enc)) |