From 46220b34337e2ea65dc97eae383f6ca5113c0d60 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 Nov 2020 14:43:26 +0100 Subject: some comments --- lib/lennart/DataProcessor.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/lennart') diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py index 67c6fb6..319b37f 100644 --- a/lib/lennart/DataProcessor.py +++ b/lib/lennart/DataProcessor.py @@ -166,11 +166,6 @@ class DataProcessor: :return: List of modified timestamps (float list) """ endFactor = 1 + (end_offset / ((end_timestamp - end_offset) - start_timestamp)) - # print( - # f"({end_timestamp} + {end_offset} - {start_timestamp}) / ({end_timestamp} - {start_timestamp}) == {endFactor}" - # ) - # Manuelles endFactor += 0.0001 macht es merklich besser - # print(f"endFactor = {endFactor}") # endFactor assumes that the end of the first sync pulse is at timestamp 0. # Then, timestamps with drift := timestamps * endFactor. # As this is not the case (the first sync pulse ends at start_timestamp > 0), we shift the data by first -- cgit v1.2.3