From 9194b5e9e4d7b72bf08d01c0fde6ff78be36215e Mon Sep 17 00:00:00 2001 From: sara Date: Sat, 6 Nov 2021 20:11:11 +0100 Subject: An graphischer Darstellung weitergearbeitet --- simulation/QPSK/qpsk_nogui.pdf | Bin 0 -> 26645 bytes simulation/QPSK/qpsk_nogui.py | 8 ++------ 2 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 simulation/QPSK/qpsk_nogui.pdf (limited to 'simulation/QPSK') diff --git a/simulation/QPSK/qpsk_nogui.pdf b/simulation/QPSK/qpsk_nogui.pdf new file mode 100644 index 0000000..0b0077e Binary files /dev/null and b/simulation/QPSK/qpsk_nogui.pdf differ diff --git a/simulation/QPSK/qpsk_nogui.py b/simulation/QPSK/qpsk_nogui.py index ab5b361..2b32473 100755 --- a/simulation/QPSK/qpsk_nogui.py +++ b/simulation/QPSK/qpsk_nogui.py @@ -76,8 +76,8 @@ class qpsk_nogui(gr.top_block): self.blocks_null_sink_0 = blocks.null_sink(gr.sizeof_float*1) self.blocks_char_to_float_0 = blocks.char_to_float(1, 1) self.analog_random_source_x_0 = blocks.vector_source_b(list(map(int, numpy.random.randint(0, 256, 1000))), True) - # print(list(map(int, numpy.random.randint(0, 256, 1000)))) - + + ################################################## # Connections @@ -95,7 +95,6 @@ class qpsk_nogui(gr.top_block): self.connect((self.digital_map_bb_0, 0), (self.blocks_unpack_k_bits_bb_0, 0)) self.connect((self.digital_pfb_clock_sync_xxx_0, 0), (self.digital_cma_equalizer_cc_0, 0)) - self.test = "1" def get_sps(self): return self.sps @@ -199,8 +198,6 @@ class qpsk_nogui(gr.top_block): self.chn_taps = chn_taps self.channels_channel_model_0.set_taps(self.chn_taps) - def test_2(self,x): - return "5" @@ -228,7 +225,6 @@ def main(top_block_cls=qpsk_nogui, options=None): tb.stop() tb.wait() -test = "test variabel" if __name__ == '__main__': main() -- cgit v1.2.1