diff options
author | Nao Pross <np@0hm.ch> | 2021-12-20 17:53:27 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-20 17:53:27 +0100 |
commit | 91a346c87debb3b5d949e2e138faf9d83c83b555 (patch) | |
tree | b6bb5701d1360247ac453aa86fbdefd266c7ec05 /doc/thesis/figures/data | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | Fading-91a346c87debb3b5d949e2e138faf9d83c83b555.tar.gz Fading-91a346c87debb3b5d949e2e138faf9d83c83b555.zip |
Add figure for measurements with hardware
Diffstat (limited to 'doc/thesis/figures/data')
-rw-r--r-- | doc/thesis/figures/data/qpsk_hw_lab.py | 6 |
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 |