aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fadingui/QAM/difftest.py
blob: 26bd0aaf5a0cc1a4640c9871a97c455edaf810a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import matplotlib.pyplot as plt
import numpy as np

samp_rate = 32e3
sps = 4

data = np.fromfile("modulated_nodiff.dat", dtype=np.complex64)
samples = data[:sps*120:sps]

# plt.plot(samples.real, samples.imag, ".-")
plt.plot(samples.real, ".-")
plt.plot(samples.imag, ".-")
plt.show()