Commit Graph

3 Commits

Author SHA1 Message Date
Jaap van Ekris 8d374a4790
Improvement of the TS regression algorithm and stroke detection (#51)
Change the startup and powerdown behaviour to depend on Angular velocity, as that is constructed using the TS-calculation, reducing the dependency on an individual measurement.

Inserted more explicit memory management by setting values to null before destroying the node, in order to make the Garbage collector's work a bit easier. This fixes a lot of memory leaks.

Performance improvement of the Quadratic TS Series: Implementation of a lazy algorithm to calculate B, C and goodnessOfFit, avoiding the unneccessary calculation of them when not needed/used.

Improved coding style: Instead of making explicit function calls, we now expose the underlying series, allowing use of their functions directly.

Adds different rowers, including the model C (see https://github.com/laberning/openrowingmonitor/discussions/157 )
2024-09-03 10:41:52 +02:00
Jaap van Ekris 414372ef23
Fix of an array processing error in the Theil-Sen regressor (#40)
Update to fix an error in both Theil-Sen regressors, as the arrays used were not processed completely. Thanks to @Abasz for reporting.
2024-02-15 11:15:07 +01:00
Jaap van Ekris f342e6691e
Create BinarySearchTree.js
Added the Binary Search Tree to greatly improve the performance of the Median calculation
2023-12-03 20:24:28 +01:00