diff trafficintelligence/storage.py @ 1250:77fbd0e2ba7d

dltrack works with moving average filtering
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 15 Feb 2024 22:04:35 -0500
parents 2aa56b101041
children 2b1c8fe8f7e4
line wrap: on
line diff
--- a/trafficintelligence/storage.py	Thu Feb 15 14:09:52 2024 -0500
+++ b/trafficintelligence/storage.py	Thu Feb 15 22:04:35 2024 -0500
@@ -1654,7 +1654,7 @@
         self.minFeatureEigThreshold = config.getfloat(self.sectionHeader, 'min-feature-eig-threshold')
         self.minFeatureTime = config.getint(self.sectionHeader, 'min-feature-time')
         self.minFeatureDisplacement = config.getfloat(self.sectionHeader, 'min-feature-displacement')
-        self.smoothingHalfWidth = config.getfloat(self.sectionHeader, 'smoothing-halfwidth')
+        self.smoothingHalfWidth = config.getint(self.sectionHeader, 'smoothing-halfwidth')
         #self.updateTimer = config.getint(self.sectionHeader, 'tracker-reload-time')