aboutsummaryrefslogtreecommitdiffstats
path: root/hardware/QPSK
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-12-11 19:03:48 +0100
committerNao Pross <np@0hm.ch>2021-12-11 19:03:48 +0100
commit2ce1ab42bcb3b35a5ad529a959526603faeb2eea (patch)
treee01a43ca409134fe3e693cd25444b9993f6e11e3 /hardware/QPSK
parentUpdate Frame Synchronization notebook (diff)
parentCorrections for QPSK on hardware (diff)
downloadFading-2ce1ab42bcb3b35a5ad529a959526603faeb2eea.tar.gz
Fading-2ce1ab42bcb3b35a5ad529a959526603faeb2eea.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'hardware/QPSK')
-rwxr-xr-xhardware/QPSK/qpks.py4
-rw-r--r--hardware/QPSK/qpsk.grc4
2 files changed, 4 insertions, 4 deletions
diff --git a/hardware/QPSK/qpks.py b/hardware/QPSK/qpks.py
index f89ac12..dee7994 100755
--- a/hardware/QPSK/qpks.py
+++ b/hardware/QPSK/qpks.py
@@ -80,7 +80,7 @@ class qpks(gr.top_block, Qt.QWidget):
self.nfilts = nfilts = 32
self.excess_bw = excess_bw = .35
self.timing_loop_bw = timing_loop_bw = 2 * 3.141592653589793 / 100
- self.samp_rate = samp_rate = .4e6
+ self.samp_rate = samp_rate = 1e6
self.rrc_taps = rrc_taps = firdes.root_raised_cosine(nfilts, nfilts, 1.0/float(sps), excess_bw, 45*nfilts)
self.qpsk_const = qpsk_const = digital.constellation_rect([0.707+0.707j, -0.707+0.707j, -0.707-0.707j, 0.707-0.707j], [0, 1, 3, 2],
4, 2, 2, 1, 1).base()
@@ -837,7 +837,7 @@ class qpks(gr.top_block, Qt.QWidget):
self.digital_constellation_decoder_cb_0 = digital.constellation_decoder_cb(qpsk_const)
self.digital_cma_equalizer_cc_0 = digital.cma_equalizer_cc(eq_ntaps, eq_mod, eq_gain, int(sps / 2))
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/god/Documents/Fading/hardware/QPSK/lena512color.tiff', True, 0, 0)
+ 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)
diff --git a/hardware/QPSK/qpsk.grc b/hardware/QPSK/qpsk.grc
index fd17712..279385d 100644
--- a/hardware/QPSK/qpsk.grc
+++ b/hardware/QPSK/qpsk.grc
@@ -158,7 +158,7 @@ blocks:
id: variable
parameters:
comment: ''
- value: .4e6
+ value: 1e6
states:
bus_sink: false
bus_source: false
@@ -215,7 +215,7 @@ blocks:
alias: ''
begin_tag: pmt.PMT_NIL
comment: ''
- file: /home/god/Documents/Fading/hardware/QPSK/lena512color.tiff
+ file: /home/sara/Documents/Fading/hardware/QPSK/lena512color.tiff
length: '0'
maxoutbuf: '0'
minoutbuf: '0'