summaryrefslogtreecommitdiff
path: root/gr-digital/python/qa_costas_loop_cc.py
diff options
context:
space:
mode:
authorTom Rondeau2011-10-12 22:42:55 -0400
committerTom Rondeau2011-10-12 22:42:55 -0400
commitd53109a88522d243bf684ffe1a9aad2801c52f07 (patch)
tree683f27b18e62048063b186676eddc466c845d29b /gr-digital/python/qa_costas_loop_cc.py
parentd47f0aeab7343fb033352e2ddb787c1dc95d660d (diff)
downloadgnuradio-d53109a88522d243bf684ffe1a9aad2801c52f07.tar.gz
gnuradio-d53109a88522d243bf684ffe1a9aad2801c52f07.tar.bz2
gnuradio-d53109a88522d243bf684ffe1a9aad2801c52f07.zip
digital: OFDM using new psk and qam modules for constellations. Also, psk2->psk updated in all files and examples.
Diffstat (limited to 'gr-digital/python/qa_costas_loop_cc.py')
-rwxr-xr-xgr-digital/python/qa_costas_loop_cc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/python/qa_costas_loop_cc.py b/gr-digital/python/qa_costas_loop_cc.py
index 124159dba..75fdbc2f8 100755
--- a/gr-digital/python/qa_costas_loop_cc.py
+++ b/gr-digital/python/qa_costas_loop_cc.py
@@ -21,7 +21,7 @@
#
from gnuradio import gr, gr_unittest
-import digital_swig, psk2
+import digital_swig, psk
import random, cmath
class test_costas_loop_cc(gr_unittest.TestCase):
@@ -125,7 +125,7 @@ class test_costas_loop_cc(gr_unittest.TestCase):
self.test = digital_swig.costas_loop_cc(natfreq, order)
rot = cmath.exp(-cmath.pi/8.0j) # rotate to match Costas rotation
- const = psk2.psk_constellation(order)
+ const = psk.psk_constellation(order)
data = [random.randint(0,7) for i in xrange(100)]
data = [2*rot*const.points()[d] for d in data]