From 3719288b70e42fb2adf0e3a317e8b2c73e7d4c0e Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 11 Dec 2021 14:08:50 +0100 Subject: Delete old stuff --- tests/fadingui/QAM/hammingtest.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 tests/fadingui/QAM/hammingtest.py (limited to 'tests/fadingui/QAM/hammingtest.py') 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)) -- cgit v1.2.1