From e013b7ea68619d4d62e05407c86f594d71873898 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Mon, 25 Sep 2017 10:24:19 +0200 Subject: Use const.py as storage for sample rate --- dpd/src/Symbol_align.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dpd/src/Symbol_align.py') diff --git a/dpd/src/Symbol_align.py b/dpd/src/Symbol_align.py index 2f871bc..c9ae239 100644 --- a/dpd/src/Symbol_align.py +++ b/dpd/src/Symbol_align.py @@ -26,8 +26,8 @@ class Symbol_align: Find the phase offset to the start of the DAB symbols in an unaligned dab signal. """ - def __init__(self, sample_rate, plot=False): - self.c = src.const.const(sample_rate) + def __init__(self, c, plot=False): + self.c = c self.plot = plot pass -- cgit v1.2.3