From e83e1324a50055a4b972b78e26383df7ee290fee Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 18 Dec 2018 16:26:17 +0100 Subject: GUI: add capture and plot to DPD --- python/dpd/GlobalConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/dpd/GlobalConfig.py') 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) -- cgit v1.2.3