aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/Symbol_align.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-25 10:24:19 +0200
committerandreas128 <Andreas>2017-09-25 10:24:19 +0200
commite013b7ea68619d4d62e05407c86f594d71873898 (patch)
tree5d44c73271e2e2568da3a1ba01e06779d400f030 /dpd/src/Symbol_align.py
parent654fdae3fcf0276d93abc442588120268c3f0aef (diff)
downloaddabmod-e013b7ea68619d4d62e05407c86f594d71873898.tar.gz
dabmod-e013b7ea68619d4d62e05407c86f594d71873898.tar.bz2
dabmod-e013b7ea68619d4d62e05407c86f594d71873898.zip
Use const.py as storage for sample rate
Diffstat (limited to 'dpd/src/Symbol_align.py')
-rw-r--r--dpd/src/Symbol_align.py4
1 files changed, 2 insertions, 2 deletions
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