From 91a346c87debb3b5d949e2e138faf9d83c83b555 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 20 Dec 2021 17:53:27 +0100 Subject: Add figure for measurements with hardware --- doc/thesis/figures/data/qpsk_hw_lab.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/thesis/figures/data') 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 -- cgit v1.2.1