aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures/data
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-12-20 17:53:27 +0100
committerNao Pross <np@0hm.ch>2021-12-20 17:53:27 +0100
commit91a346c87debb3b5d949e2e138faf9d83c83b555 (patch)
treeb6bb5701d1360247ac453aa86fbdefd266c7ec05 /doc/thesis/figures/data
parentMerge remote-tracking branch 'origin/master' (diff)
downloadFading-91a346c87debb3b5d949e2e138faf9d83c83b555.tar.gz
Fading-91a346c87debb3b5d949e2e138faf9d83c83b555.zip
Add figure for measurements with hardware
Diffstat (limited to '')
-rw-r--r--doc/thesis/figures/data/qpsk_hw_lab.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/thesis/figures/data/qpsk_hw_lab.py b/doc/thesis/figures/data/qpsk_hw_lab.py
index a8170c6..741f32f 100644
--- a/doc/thesis/figures/data/qpsk_hw_lab.py
+++ b/doc/thesis/figures/data/qpsk_hw_lab.py
@@ -7,11 +7,11 @@ import numpy as np
samples = utils.load_samples(__file__)
# range of samples we want to show
-start = 1e3
-end = start +50
+start = 250e3
+end = start +400
# select every second samples
-select_samples = lambda arr: arr[int(start):int(end):2]
+select_samples = lambda arr: arr[int(start):int(end):6]
values = map(select_samples, samples)
# split into imaginary and real parts