summaryrefslogtreecommitdiffstats
path: root/python/dpd/GlobalConfig.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-18 16:26:17 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-18 16:26:17 +0100
commite83e1324a50055a4b972b78e26383df7ee290fee (patch)
treee3ee189286ff6c408d4003d1d6710580f48d48da /python/dpd/GlobalConfig.py
parent154234871e06d6943d7e79a05ba10b37eb7e9198 (diff)
downloaddabmod-e83e1324a50055a4b972b78e26383df7ee290fee.tar.gz
dabmod-e83e1324a50055a4b972b78e26383df7ee290fee.tar.bz2
dabmod-e83e1324a50055a4b972b78e26383df7ee290fee.zip
GUI: add capture and plot to DPD
Diffstat (limited to 'python/dpd/GlobalConfig.py')
-rw-r--r--python/dpd/GlobalConfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/dpd/GlobalConfig.py b/python/dpd/GlobalConfig.py
index 873b6ac..99280f2 100644
--- a/python/dpd/GlobalConfig.py
+++ b/python/dpd/GlobalConfig.py
@@ -10,7 +10,7 @@
import numpy as np
class GlobalConfig:
- def __init__(self, samplerate, plot_location: str):
+ def __init__(self, samplerate: int, plot_location: str):
self.sample_rate = samplerate
assert self.sample_rate == 8192000, "We only support constants for 8192000 sample rate: {}".format(self.sample_rate)