summaryrefslogtreecommitdiff
path: root/lib/lennart/DataProcessor.py
AgeCommit message (Collapse)AuthorLines
2021-01-20greedy drift compensation: Handle left corner case as well. Oops.Daniel Friesel-2/+11
2021-01-19additional debugging outputDaniel Friesel-1/+16
2021-01-19fix off-by-one in graph-based drift compensationDaniel Friesel-1/+1
the bug manifested whenever a "transition end" node was chosen
2021-01-19sort keys before bisectDaniel Friesel-1/+1
2021-01-19greedy drift compensation: handle edge casesDaniel Friesel-2/+8
2021-01-19drift compensation: use PILT min_dist=1Daniel Friesel-1/+1
2021-01-19greedy drift compensation: consider transition start vs end when syncingDaniel Friesel-46/+38
2021-01-18re-add greedy drift compensation heuristicDaniel Friesel-3/+86
2021-01-18drift compensation: a candidate may refer to transition start or endDaniel Friesel-39/+69
There's still a major bug somewhere, right now results are sub-par
2021-01-18energytrace drift compensation: allow arbitrarily long skipsDaniel Friesel-29/+33
2021-01-18energytrace drift compensation: stretch datapointsDaniel Friesel-1/+3
2021-01-18drift_compensation_grpah: handle node skips at the tailDaniel Friesel-0/+9
2021-01-18refactor graph-based drift compensation into a separate functionDaniel Friesel-1/+12
2021-01-18Fix a typoDaniel Friesel-1/+1
2021-01-18EnergyTrace loader: show offline_index in debug and error outputDaniel Friesel-8/+22
2021-01-14add anoter todo entryDaniel Friesel-0/+3
2021-01-14energytrace drift compensation: handle arbitrarily long detection failuresDaniel Friesel-19/+6
2021-01-14energytrace drift compensation: partially handle lack of candidatesDaniel Friesel-2/+4
2021-01-14energytrace drift compensation: Handle undetected transitionsDaniel Friesel-5/+76
2021-01-14EnergyTrace drift compensation: optimize via shortest pathsDaniel Friesel-68/+68
Right now performance is worse than the previous greedy approach as the dijkstra variant does not take into account that a transition may be missing from the set of detected changepoints (i.e., it assumes that the set of detected changepoints contains the transition timestamp, which is not always the case). This will be fixed in the next commit by adding nodes for the expected transition timestamp (with a slightly higher weight to ensure there are no proper nodes in the vicinity) -- or something similar.
2021-01-13pelt: Allow overrides via environment variablesDaniel Friesel-4/+13
2021-01-13EnergyTrace loader: remove bogus tail sync data as wellDaniel Friesel-7/+14
2021-01-08model transition power, not energyDaniel Friesel-5/+2
in contrast to duration/energy, duration/power are independent
2020-12-15add proof of concept for EnergyTrace++ based drift compensationDaniel Friesel-2/+35
2020-12-15dataprocessor: export drift compensation dataDaniel Friesel-0/+14
2020-12-14energytrace: add pelt-based drift compensation experiment.Daniel Friesel-1/+128
Enable with DFATOOL_COMPENSATE_DRIFT=1 so far it's pretty unreliable.
2020-12-03use common energytrace loader codeDaniel Friesel-25/+12
this also fixes a nasty off-by-one in the barcode loader (now _load_energytrace): wrong: interval_start_timestamp = data[:-1, 0] * 1e-6 correct: interval_start_timestamp = data[1:, 0] * 1e-6
2020-11-27clean up energytrace drift compensation and raw model generation codeDaniel Friesel-146/+132
2020-11-26some commentsDaniel Friesel-5/+0
2020-11-19DataProcessor: Handle broken LA measurementsDaniel Friesel-0/+9
2020-11-16do not parse energytrace logs with large sync offsetDaniel Friesel-1/+1
2020-11-09DataProcessor: Warn for positive and negative offset errorsDaniel Friesel-1/+1
2020-10-30Add DFATOOL_EXPORT_LASYNC variable for ET+LA / ET+Timer sync evalDaniel Friesel-0/+17
2020-10-23minor refactoringDaniel Friesel-1/+1
2020-10-22Improve sync=la timing restoration. There's still something fishy though...Daniel Friesel-2/+3
2020-10-22unfuck LA<->ET drift calculationDaniel Friesel-2/+8
2020-10-21--plot-traces: use the correct time base for each backendDaniel Friesel-6/+9
2020-10-20DataProcessor: commentsDaniel Friesel-10/+13
2020-10-20DataProcessor: improve drift compensationDaniel Friesel-30/+27
it still isn't satisfactory
2020-10-19ET+LA: add --plot-traces support, actually calculate standard deviation.Daniel Friesel-12/+15
Jungejungejungejungejunge...
2020-10-19debug logDaniel Friesel-3/+14
2020-10-16Code aus Lennarts BA-repoDaniel Friesel-0/+374