summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/qa_pfb_clock_sync.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-04-02 23:04:08 -0700
committerBen Reynwar <ben@reynwar.net>2013-04-02 23:04:08 -0700
commitc6dbde23b256a41b3d92cb4ad6b63287095d53c7 (patch)
tree71db12ea2e1667770c22568dcdf5e0857d5f1e59 /gr-digital/python/digital/qa_pfb_clock_sync.py
parent22b70d0889ef3c51e27a31ee18d153093a55cbb8 (diff)
parent98758cbfa9a2aff714952d19e773bc370dfa2185 (diff)
Merged next into uninstalled import branch.
Diffstat (limited to 'gr-digital/python/digital/qa_pfb_clock_sync.py')
-rwxr-xr-xgr-digital/python/digital/qa_pfb_clock_sync.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-digital/python/digital/qa_pfb_clock_sync.py b/gr-digital/python/digital/qa_pfb_clock_sync.py
index 77a0c9eadf..286953ab34 100755
--- a/gr-digital/python/digital/qa_pfb_clock_sync.py
+++ b/gr-digital/python/digital/qa_pfb_clock_sync.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2011 Free Software Foundation, Inc.
+# Copyright 2011,2013 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -23,7 +23,7 @@
import random
import cmath
-from gnuradio import gr, gr_unittest, filter, digital
+from gnuradio import gr, gr_unittest, filter, digital, blocks
class test_pfb_clock_sync(gr_unittest.TestCase):
@@ -54,7 +54,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
osps)
data = 10000*[complex(1,0), complex(-1,0)]
- self.src = gr.vector_source_c(data, False)
+ self.src = blocks.vector_source_c(data, False)
# pulse shaping interpolation filter
rrc_taps = filter.firdes.root_raised_cosine(
@@ -65,7 +65,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
ntaps)
self.rrc_filter = filter.pfb_arb_resampler_ccf(sps, rrc_taps)
- self.snk = gr.vector_sink_c()
+ self.snk = blocks.vector_sink_c()
self.tb.connect(self.src, self.rrc_filter, self.test, self.snk)
self.tb.run()
@@ -107,7 +107,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
osps)
data = 10000*[1, -1]
- self.src = gr.vector_source_f(data, False)
+ self.src = blocks.vector_source_f(data, False)
# pulse shaping interpolation filter
rrc_taps = filter.firdes.root_raised_cosine(
@@ -118,7 +118,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
ntaps)
self.rrc_filter = filter.pfb_arb_resampler_fff(sps, rrc_taps)
- self.snk = gr.vector_sink_f()
+ self.snk = blocks.vector_sink_f()
self.tb.connect(self.src, self.rrc_filter, self.test, self.snk)
self.tb.run()