diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lennart/DataProcessor.py | 2 |
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 |