Lighter smoothing on tracks when using Kalman

This commit is contained in:
Ruben van de Ven 2024-12-31 14:46:43 +01:00
parent 4bc1e56dad
commit 71eadbeecf

View file

@ -691,7 +691,7 @@ class Smoother:
else:
# "Unlike Kalman filtering, which focuses on predicting and updating the current state using historical measurements, Kalman smoothing enhances the accuracy of past state values"
# see https://medium.com/@shahalkp1/kalman-smoothing-using-tsmoothie-0175260464e5
self.smoother = KalmanSmoother(component='level_trend', component_noise={'level':0.03, 'season': .02, 'trend':0.04},n_seasons = 2, copy=None)
self.smoother = KalmanSmoother(component='level_trend', component_noise={'level':0.02, 'season': .01, 'trend':0.02},n_seasons = 2, copy=None)