diff options
author | sara <sara.halter@gmx.ch> | 2021-11-06 17:58:23 +0100 |
---|---|---|
committer | sara <sara.halter@gmx.ch> | 2021-11-06 17:58:23 +0100 |
commit | 8733e3563306a193962d1f87421a2b817eca28f8 (patch) | |
tree | 4357c1127d3c993d8c33cb44692d040d42643b58 /simulation/QPSK | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | Fading-8733e3563306a193962d1f87421a2b817eca28f8.tar.gz Fading-8733e3563306a193962d1f87421a2b817eca28f8.zip |
An scr gearbeitet
Diffstat (limited to 'simulation/QPSK')
-rwxr-xr-x | simulation/QPSK/qpsk_nogui.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/simulation/QPSK/qpsk_nogui.py b/simulation/QPSK/qpsk_nogui.py index 2b32473..ab5b361 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,6 +95,7 @@ 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 @@ -198,6 +199,8 @@ 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" @@ -225,6 +228,7 @@ def main(top_block_cls=qpsk_nogui, options=None): tb.stop() tb.wait() +test = "test variabel" if __name__ == '__main__': main() |