aboutsummaryrefslogtreecommitdiffstats
path: root/hardware/QAM/qam.py
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-11-15 18:44:05 +0100
committersara <sara.halter@gmx.ch>2021-11-15 18:44:05 +0100
commit43e278405384f91bf9fccc9beda49fef98633d7c (patch)
tree56117117825d99f4771f0f8533c237062c7be3e9 /hardware/QAM/qam.py
parentCrate slides (diff)
downloadFading-43e278405384f91bf9fccc9beda49fef98633d7c.tar.gz
Fading-43e278405384f91bf9fccc9beda49fef98633d7c.zip
FIR Filter beendet
Diffstat (limited to '')
-rwxr-xr-xhardware/QAM/qam.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/hardware/QAM/qam.py b/hardware/QAM/qam.py
index b8f0e3a..9b54472 100755
--- a/hardware/QAM/qam.py
+++ b/hardware/QAM/qam.py
@@ -86,7 +86,7 @@ class qam(gr.top_block, Qt.QWidget):
self.eq_ntaps = eq_ntaps = 15
self.eq_mod = eq_mod = 2
self.eq_gain = eq_gain = .01
- self.const = const = digital.constellation_bpsk().base()
+ self.const = const = digital.constellation_16qam().base()
##################################################
# Blocks
@@ -821,7 +821,7 @@ class qam(gr.top_block, Qt.QWidget):
self.plots_grid_layout_0.setRowStretch(r, 1)
for c in range(0, 1):
self.plots_grid_layout_0.setColumnStretch(c, 1)
- self.digital_pfb_clock_sync_xxx_0 = digital.pfb_clock_sync_ccf(sps, timing_loop_bw, rrc_taps, nfilts, nfilts/2, 1.5, int(sps / 2))
+ self.digital_pfb_clock_sync_xxx_0 = digital.pfb_clock_sync_ccf(sps, timing_loop_bw, rrc_taps, nfilts, nfilts/2, 1.5, 1)
self.digital_map_bb_0 = digital.map_bb([0, 1, 3, 2])
self.digital_diff_decoder_bb_0 = digital.diff_decoder_bb(4)
self.digital_costas_loop_cc_0 = digital.costas_loop_cc(phase_bw, 4, False)
@@ -834,7 +834,7 @@ class qam(gr.top_block, Qt.QWidget):
verbose=False,
log=False)
self.digital_constellation_decoder_cb_0 = digital.constellation_decoder_cb(const)
- self.digital_cma_equalizer_cc_0 = digital.cma_equalizer_cc(eq_ntaps, eq_mod, eq_gain, int(sps / 2))
+ self.digital_cma_equalizer_cc_0 = digital.cma_equalizer_cc(eq_ntaps, eq_mod, eq_gain, 1)
self.blocks_null_sink_0 = blocks.null_sink(gr.sizeof_char*1)
self.blocks_file_source_0 = blocks.file_source(gr.sizeof_char*1, '/home/sara/Documents/Fading/hardware/QPSK/lena512color.tiff', True, 0, 0)
self.blocks_file_source_0.set_begin_tag(pmt.PMT_NIL)