summaryrefslogtreecommitdiff
path: root/gr-digital/python/bpsk.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2011-08-09 21:50:13 -0400
committerTom Rondeau <trondeau@vt.edu>2011-08-09 21:50:13 -0400
commit61db1684fdda602d18134b2e8c510bb7e33245fc (patch)
treed1bb6dc6c824c98d82b17027d271292dab66eb6e /gr-digital/python/bpsk.py
parent386a73c53aeb36bdf10e28fc5366385faebe78b2 (diff)
digital: setting up receive path to use new timing loop API, FLL API, new gain names/settings. Also added concept of gray coding to generic mod/demod and reworked bpsk/qpsk modulators so both work.
Diffstat (limited to 'gr-digital/python/bpsk.py')
-rw-r--r--gr-digital/python/bpsk.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-digital/python/bpsk.py b/gr-digital/python/bpsk.py
index 51de3ce084..806a5d6951 100644
--- a/gr-digital/python/bpsk.py
+++ b/gr-digital/python/bpsk.py
@@ -67,7 +67,8 @@ class bpsk_mod(generic_mod):
constellation = digital_swig.constellation_bpsk()
if constellation_points != 2:
raise ValueError('Number of constellation points must be 2 for BPSK.')
- super(bpsk_mod, self).__init__(constellation, *args, **kwargs)
+ super(bpsk_mod, self).__init__(constellation=constellation,
+ *args, **kwargs)
# /////////////////////////////////////////////////////////////////////////////
# BPSK demodulator
@@ -92,7 +93,8 @@ class bpsk_demod(generic_demod):
constellation = digital_swig.constellation_bpsk()
if constellation_points != 2:
raise ValueError('Number of constellation points must be 2 for BPSK.')
- super(bpsk_demod, self).__init__(constellation, *args, **kwargs)
+ super(bpsk_demod, self).__init__(constellation=constellation,
+ *args, **kwargs)
#
# Add these to the mod/demod registry