aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/Dab_Util.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-08 10:05:56 +0200
committerandreas128 <Andreas>2017-09-08 10:05:56 +0200
commit988e0b9472489657f86838362b176863ec42d0fd (patch)
tree9a782277c75c8477119716f24e4064879ac0c56c /dpd/src/Dab_Util.py
parent1b6c5dd58658bbc1b423b50baa15ca3fae6a1065 (diff)
downloaddabmod-988e0b9472489657f86838362b176863ec42d0fd.tar.gz
dabmod-988e0b9472489657f86838362b176863ec42d0fd.tar.bz2
dabmod-988e0b9472489657f86838362b176863ec42d0fd.zip
Cleanup and change logging plots to svg
Diffstat (limited to 'dpd/src/Dab_Util.py')
-rw-r--r--dpd/src/Dab_Util.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/dpd/src/Dab_Util.py b/dpd/src/Dab_Util.py
index 8a53004..a7403a3 100644
--- a/dpd/src/Dab_Util.py
+++ b/dpd/src/Dab_Util.py
@@ -45,7 +45,7 @@ class Dab_Util:
if logging.getLogger().getEffectiveLevel() == logging.DEBUG and self.plot:
dt = datetime.datetime.now().isoformat()
- corr_path = (logging_path + "/" + dt + "_tx_rx_corr.pdf")
+ corr_path = (logging_path + "/" + dt + "_tx_rx_corr.svg")
plt.plot(c, label="corr")
plt.legend()
plt.savefig(corr_path)
@@ -99,7 +99,7 @@ class Dab_Util:
if logging.getLogger().getEffectiveLevel() == logging.DEBUG and self.plot:
dt = datetime.datetime.now().isoformat()
- fig_path = logging_path + "/" + dt + "_sync_raw.pdf"
+ fig_path = logging_path + "/" + dt + "_sync_raw.svg"
fig, axs = plt.subplots(2)
axs[0].plot(np.abs(sig_tx[:128]), label="TX Frame")
@@ -143,7 +143,7 @@ class Dab_Util:
if logging.getLogger().getEffectiveLevel() == logging.DEBUG and self.plot:
dt = datetime.datetime.now().isoformat()
- fig_path = logging_path + "/" + dt + "_sync_sample_aligned.pdf"
+ fig_path = logging_path + "/" + dt + "_sync_sample_aligned.svg"
fig, axs = plt.subplots(2)
axs[0].plot(np.abs(sig_tx[:128]), label="TX Frame")
@@ -168,7 +168,7 @@ class Dab_Util:
if logging.getLogger().getEffectiveLevel() == logging.DEBUG:
dt = datetime.datetime.now().isoformat()
- fig_path = logging_path + "/" + dt + "_sync_subsample_aligned.pdf"
+ fig_path = logging_path + "/" + dt + "_sync_subsample_aligned.svg"
fig, axs = plt.subplots(2)
axs[0].plot(np.abs(sig_tx[:128]), label="TX Frame")
@@ -192,7 +192,7 @@ class Dab_Util:
if logging.getLogger().getEffectiveLevel() == logging.DEBUG:
dt = datetime.datetime.now().isoformat()
- fig_path = logging_path + "/" + dt + "_sync_phase_aligned.pdf"
+ fig_path = logging_path + "/" + dt + "_sync_phase_aligned.svg"
fig, axs = plt.subplots(2)
axs[0].plot(np.abs(sig_tx[:128]), label="TX Frame")