summaryrefslogtreecommitdiff
path: root/gr-digital/python/qa_constellation.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-02-21 19:34:27 -0500
committerTom Rondeau <trondeau@vt.edu>2013-02-21 19:34:27 -0500
commit4f479665bc9f04e52b047cb270772ee61e319a59 (patch)
tree09a018da0d2c14f160520707ecc2a2ff6ae8e1f1 /gr-digital/python/qa_constellation.py
parent7b4a518bfe47fb1d0b2a32fc5c93ed0157d2dc6c (diff)
blocks: removing blocks from gnuradio-core.
delay, rms, packed_to_unpacked, unpacked_to_packed.
Diffstat (limited to 'gr-digital/python/qa_constellation.py')
-rwxr-xr-xgr-digital/python/qa_constellation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/python/qa_constellation.py b/gr-digital/python/qa_constellation.py
index 3c109cfe82..12dbca232f 100755
--- a/gr-digital/python/qa_constellation.py
+++ b/gr-digital/python/qa_constellation.py
@@ -174,12 +174,12 @@ class mod_demod(gr.hier_block2):
self.blocks = [self]
# We expect a stream of unpacked bits.
# First step is to pack them.
- self.blocks.append(gr.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST))
+ self.blocks.append(blocks.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST))
# Second step we unpack them such that we have k bits in each byte where
# each constellation symbol hold k bits.
self.blocks.append(
- gr.packed_to_unpacked_bb(self.constellation.bits_per_symbol(),
- gr.GR_MSB_FIRST))
+ blocks.packed_to_unpacked_bb(self.constellation.bits_per_symbol(),
+ gr.GR_MSB_FIRST))
# Apply any pre-differential coding
# Gray-coding is done here if we're also using differential coding.
if self.constellation.apply_pre_diff_code():