From 77bc8f6ef5e8e78af6d5967b737ff64cf8a5ce95 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Fri, 9 Feb 2018 17:01:22 +0100 Subject: [PATCH] Combination of datapoints implemented --- input_backend.py | 33 +++++++++++++++++++++++++++------ ths_config.txt | 2 ++ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/input_backend.py b/input_backend.py index f50a2ec..df29226 100644 --- a/input_backend.py +++ b/input_backend.py @@ -27,11 +27,33 @@ class Data: i = 0 if(len(self.times) != len(self.data)): raise RuntimeError("len(timestamps) != len(data), cannot continue, this should never happen") - while(i= (self.times[1] - self.times[0]).total_seconds()): + x_dp = 5 + m_t = 3 + while(i+x_dp