diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-12 14:49:32 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-12 14:49:32 +0200 |
commit | 403ce1709cd8204769f43a2e6cc68c0286d0fb25 (patch) | |
tree | 84f1a45e206e06ff1e3311d837c8913e30f988e8 | |
parent | 2759e2e2a86e97eeee5934d5d9a3b4c911a47229 (diff) | |
download | dabmod-403ce1709cd8204769f43a2e6cc68c0286d0fb25.tar.gz dabmod-403ce1709cd8204769f43a2e6cc68c0286d0fb25.tar.bz2 dabmod-403ce1709cd8204769f43a2e6cc68c0286d0fb25.zip |
Fix typo in show_spectrum.py
-rwxr-xr-x | dpd/show_spectrum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/show_spectrum.py b/dpd/show_spectrum.py index c1d5fe5..477cd99 100755 --- a/dpd/show_spectrum.py +++ b/dpd/show_spectrum.py @@ -77,7 +77,7 @@ def get_samples(port, num_samps_to_request): rxframe_bytes = recv_exact(s, num_samps * SIZEOF_SAMPLE) rxframe = np.fromstring(rxframe_bytes, dtype=np.complex64) else: - txframe = np.array([], dtype=np.complex64) + rxframe = np.array([], dtype=np.complex64) print("Disconnecting") s.close() |