aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/show_spectrum.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-09 14:43:19 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-09 14:44:24 +0200
commite48f6b7078e9edc30b1a6a357e3f81c21265930a (patch)
treebba5b26dd0b907337a77ebbdbb1b9cc114f8280a /dpd/show_spectrum.py
parent0b491301e11c8e4fd1a3cff9f038f4fa8f5c6aab (diff)
downloaddabmod-e48f6b7078e9edc30b1a6a357e3f81c21265930a.tar.gz
dabmod-e48f6b7078e9edc30b1a6a357e3f81c21265930a.tar.bz2
dabmod-e48f6b7078e9edc30b1a6a357e3f81c21265930a.zip
DPD CE: Add argument parser
Diffstat (limited to 'dpd/show_spectrum.py')
-rwxr-xr-xdpd/show_spectrum.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/dpd/show_spectrum.py b/dpd/show_spectrum.py
index 0ae24c2..95dbef9 100755
--- a/dpd/show_spectrum.py
+++ b/dpd/show_spectrum.py
@@ -1,16 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-# This is an example tool that shows how to connect to ODR-DabMod's dpd TCP server
-# and get samples from there.
+# This is an example tool that shows how to connect to ODR-DabMod's dpd TCP
+# server and get samples from there.
#
-# Since the TX and RX samples are not perfectly aligned, the tool has to align them properly,
-# which is done in two steps: First on sample-level using a correlation, then with subsample
-# accuracy using a FFT approach.
+# Since the TX and RX samples are not perfectly aligned, the tool has to align
+# them properly, which is done in two steps: First on sample-level using a
+# correlation, then with subsample accuracy using a FFT approach.
#
# It requires SciPy and matplotlib.
#
-# Copyright (C) 2017 Matthias P. Braendli
# http://www.opendigitalradio.org
# Licence: The MIT License, see notice at the end of this file