From 6b59bcb1d8aa4e97bca55bf464c5832d0c0fbc43 Mon Sep 17 00:00:00 2001
From: Nao Pross <np@0hm.ch>
Date: Thu, 16 Dec 2021 18:39:38 +0100
Subject: Typo without

---
 .../qpsk_sim_constellations_whitout_effects.py     | 32 ----------------------
 .../qpsk_sim_constellations_without_effects.py     | 32 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 32 deletions(-)
 delete mode 100644 doc/thesis/figures/data/qpsk_sim_constellations_whitout_effects.py
 create mode 100644 doc/thesis/figures/data/qpsk_sim_constellations_without_effects.py

(limited to 'doc/thesis/figures/data')

diff --git a/doc/thesis/figures/data/qpsk_sim_constellations_whitout_effects.py b/doc/thesis/figures/data/qpsk_sim_constellations_whitout_effects.py
deleted file mode 100644
index 3ac9948..0000000
--- a/doc/thesis/figures/data/qpsk_sim_constellations_whitout_effects.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python3
-
-import os
-import numpy as np
-
-DATA_DIR = "./figures/data/flowgraphs"
-SPS = 4
-
-channel   = np.fromfile(f"{DATA_DIR}/qpsk_channel_whitout_effects.dat", dtype=np.complex64)[::SPS]
-sync      = np.fromfile(f"{DATA_DIR}/qpsk_sync_whitout_effects.dat", dtype=np.complex64)
-equalized = np.fromfile(f"{DATA_DIR}/qpsk_equalized_whitout_effects.dat", dtype=np.complex64)
-locked    = np.fromfile(f"{DATA_DIR}/qpsk_locked_whitout_effects.dat", dtype=np.complex64)
-
-samples = [channel, sync, equalized, locked]
-
-# print(list(map(len, samples)))
-
-start = 1e3
-end = start + 200
-
-get_range = lambda arr: arr[int(start):int(end)]
-get_parts = lambda v: (np.real(v), np.imag(v))
-
-values = map(get_range, samples)
-parts = [p for v in map(get_parts, values) for p in v]
-data = np.array(list(zip(*parts)))
-
-# save to file
-location = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
-name, _ = os.path.splitext(os.path.basename(__file__))
-filename = os.path.join(location, name + ".dat")
-np.savetxt(filename, data, fmt='%.6e')
diff --git a/doc/thesis/figures/data/qpsk_sim_constellations_without_effects.py b/doc/thesis/figures/data/qpsk_sim_constellations_without_effects.py
new file mode 100644
index 0000000..3ac9948
--- /dev/null
+++ b/doc/thesis/figures/data/qpsk_sim_constellations_without_effects.py
@@ -0,0 +1,32 @@
+#!/usr/bin/env python3
+
+import os
+import numpy as np
+
+DATA_DIR = "./figures/data/flowgraphs"
+SPS = 4
+
+channel   = np.fromfile(f"{DATA_DIR}/qpsk_channel_whitout_effects.dat", dtype=np.complex64)[::SPS]
+sync      = np.fromfile(f"{DATA_DIR}/qpsk_sync_whitout_effects.dat", dtype=np.complex64)
+equalized = np.fromfile(f"{DATA_DIR}/qpsk_equalized_whitout_effects.dat", dtype=np.complex64)
+locked    = np.fromfile(f"{DATA_DIR}/qpsk_locked_whitout_effects.dat", dtype=np.complex64)
+
+samples = [channel, sync, equalized, locked]
+
+# print(list(map(len, samples)))
+
+start = 1e3
+end = start + 200
+
+get_range = lambda arr: arr[int(start):int(end)]
+get_parts = lambda v: (np.real(v), np.imag(v))
+
+values = map(get_range, samples)
+parts = [p for v in map(get_parts, values) for p in v]
+data = np.array(list(zip(*parts)))
+
+# save to file
+location = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
+name, _ = os.path.splitext(os.path.basename(__file__))
+filename = os.path.join(location, name + ".dat")
+np.savetxt(filename, data, fmt='%.6e')
-- 
cgit v1.2.1