From 93844f6eb9dba5f84ccb55101d14d11513e53232 Mon Sep 17 00:00:00 2001 From: sara Date: Fri, 10 Dec 2021 17:54:18 +0100 Subject: QAM16 Maps angepasst --- tests/Map/Map_test.py | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) (limited to 'tests/Map/Map_test.py') diff --git a/tests/Map/Map_test.py b/tests/Map/Map_test.py index f7b478f..96a5b15 100755 --- a/tests/Map/Map_test.py +++ b/tests/Map/Map_test.py @@ -36,18 +36,14 @@ class Map_test(gr.top_block): self.v0 = v0 = -0.7071067811865475-0.7071067811865475j self.samp_rate = samp_rate = 32000 self.const = const = digital.constellation_16qam().base() - self.a3 = a3 = -9.486832980505138-9.486832980505138j - self.a2 = a2 = 9.486832980505138-9.486832980505138j - self.a1 = a1 = -3.162277660168379-3.162277660168379j - self.a0 = a0 = 3.162277660168379-3.162277660168379j ################################################## # Blocks ################################################## self.epy_block_1 = epy_block_1.blk() self.digital_constellation_decoder_cb_0 = digital.constellation_decoder_cb(const) - self.blocks_vector_source_x_1_0 = blocks.vector_source_c([(-0.9486832980505138-0.31622776601683794j), (-0.9486832980505138-0.31622776601683794j)], True, 1, []) - self.blocks_repack_bits_bb_0 = blocks.repack_bits_bb(2, 8, "", False, gr.GR_MSB_FIRST) + self.blocks_vector_source_x_1_0 = blocks.vector_source_c([(-0.9486832980505138-0.9486832980505138j), (0.9486832980505138+0.9486832980505138j)], True, 1, []) + self.blocks_repack_bits_bb_0 = blocks.repack_bits_bb(4, 8, "", False, gr.GR_MSB_FIRST) @@ -95,30 +91,6 @@ class Map_test(gr.top_block): def set_const(self, const): self.const = const - def get_a3(self): - return self.a3 - - def set_a3(self, a3): - self.a3 = a3 - - def get_a2(self): - return self.a2 - - def set_a2(self, a2): - self.a2 = a2 - - def get_a1(self): - return self.a1 - - def set_a1(self, a1): - self.a1 = a1 - - def get_a0(self): - return self.a0 - - def set_a0(self, a0): - self.a0 = a0 - -- cgit v1.2.1