summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-01-19 10:54:42 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-01-19 10:54:42 +0100
commit88cb3fead0c2faa60f1891f86a1edbd2f6a705b2 (patch)
treeadc5ef14d8e0a845f28d609263b58975f1b963b8
parent58e08ffa5a217e0caa49c9dbcac48d8ac9e11046 (diff)
drift compensation: use PILT min_dist=1
-rw-r--r--lib/lennart/DataProcessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lennart/DataProcessor.py b/lib/lennart/DataProcessor.py
index 4180bce..e45fba3 100644
--- a/lib/lennart/DataProcessor.py
+++ b/lib/lennart/DataProcessor.py
@@ -221,7 +221,7 @@ class DataProcessor:
# "rbf" und "l2" scheinen ähnlich gut zu funktionieren, l2 ist schneller.
# PELT does not find changepoints for transitions which span just four or five data points (i.e., transitions shorter than ~2ms).
# Workaround: Double the data rate passed to PELT by interpolation ("stretch=2")
- pelt = PELT(with_multiprocessing=False, stretch=2)
+ pelt = PELT(with_multiprocessing=False, stretch=2, min_dist=1)
expected_transition_start_timestamps = sync_timestamps[::2]
transition_start_candidate_weights = list()
drift = 0