aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/QPSK
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-11-08 14:46:37 +0100
committersara <sara.halter@gmx.ch>2021-11-08 14:46:37 +0100
commita3a5354ab243a3f1ede7ad82ca9616556fb9c8ad (patch)
tree7fd195eff418d10e39af3f0b0666ef198e6f46af /simulation/QPSK
parentAn graphischer Darstellung weitergearbeitet (diff)
downloadFading-a3a5354ab243a3f1ede7ad82ca9616556fb9c8ad.tar.gz
Fading-a3a5354ab243a3f1ede7ad82ca9616556fb9c8ad.zip
QAM / 4-PSK Simulation
Diffstat (limited to 'simulation/QPSK')
-rwxr-xr-xsimulation/QPSK/qpks.py2
-rw-r--r--simulation/QPSK/qpsk.grc2
2 files changed, 2 insertions, 2 deletions
diff --git a/simulation/QPSK/qpks.py b/simulation/QPSK/qpks.py
index 11e7004..98a982f 100755
--- a/simulation/QPSK/qpks.py
+++ b/simulation/QPSK/qpks.py
@@ -82,7 +82,7 @@ class qpks(gr.top_block, Qt.QWidget):
self.time_offset = time_offset = 1.0
self.samp_rate = samp_rate = 32000
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],
+ self.qpsk_const = qpsk_const = digital.constellation_rect([0.707+1j, -0.707+0.707j, -0.707-0.707j, 0.707-0.707j], [0, 1, 3, 2],
4, 2, 2, 1, 1).base()
self.phase_bw = phase_bw = 2 * 3.141592653589793 / 100
self.noise_volt = noise_volt = 0.0001
diff --git a/simulation/QPSK/qpsk.grc b/simulation/QPSK/qpsk.grc
index 3275e96..087f8e0 100644
--- a/simulation/QPSK/qpsk.grc
+++ b/simulation/QPSK/qpsk.grc
@@ -180,7 +180,7 @@ blocks:
id: variable_constellation_rect
parameters:
comment: ''
- const_points: '[0.707+0.707j, -0.707+0.707j, -0.707-0.707j, 0.707-0.707j]'
+ const_points: '[0.707+1j, -0.707+0.707j, -0.707-0.707j, 0.707-0.707j]'
imag_sect: '2'
precision: '8'
real_sect: '2'