aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/QAM/qam.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsimulation/QAM/qam.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/simulation/QAM/qam.py b/simulation/QAM/qam.py
index bf6b82d..2c96d0e 100755
--- a/simulation/QAM/qam.py
+++ b/simulation/QAM/qam.py
@@ -82,8 +82,6 @@ class qam(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.qam_const = qam_const = digital.constellation_rect([(-3-3j), (-1-3j), (1-3j), (3-3j), (-3-1j), (-1-1j), (1-1j), (3-1j), (-3+1j), (-1+1j), (1+1j), (3+1j), (-3+3j), (-1+3j), (1+3j), (3+3j)], [0, 4, 12, 8, 1, 5, 13, 9, 3, 7, 15, 11, 2, 6, 14, 10],
- 4, 1, 1, 1, 1).base()
self.phase_bw = phase_bw = 2 * 3.141592653589793 / 100
self.noise_volt = noise_volt = 0.0001
self.freq_offset = freq_offset = 0
@@ -551,12 +549,6 @@ class qam(gr.top_block, Qt.QWidget):
self.rrc_taps = rrc_taps
self.digital_pfb_clock_sync_xxx_0.update_taps(self.rrc_taps)
- def get_qam_const(self):
- return self.qam_const
-
- def set_qam_const(self, qam_const):
- self.qam_const = qam_const
-
def get_phase_bw(self):
return self.phase_bw