diff options
author | Théo de la Hogue | 2024-04-25 15:30:48 +0200 |
---|---|---|
committer | Théo de la Hogue | 2024-04-25 15:30:48 +0200 |
commit | da17ef741517b3d4453511c2c0bb62e3e0716ed3 (patch) | |
tree | 182ce5ed3350cde07a4b9f9b6392a7d5c501d256 | |
parent | 9e829bfef38e181372f96ac0497161e598b616ef (diff) | |
download | argaze-da17ef741517b3d4453511c2c0bb62e3e0716ed3.zip argaze-da17ef741517b3d4453511c2c0bb62e3e0716ed3.tar.gz argaze-da17ef741517b3d4453511c2c0bb62e3e0716ed3.tar.bz2 argaze-da17ef741517b3d4453511c2c0bb62e3e0716ed3.tar.xz |
Logging deviation_max
-rw-r--r-- | src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py index 111d1c3..13e37dc 100644 --- a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py +++ b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py @@ -17,6 +17,7 @@ __credits__ = [] __copyright__ = "Copyright 2023, Ecole Nationale de l'Aviation Civile (ENAC)" __license__ = "GPLv3" +import logging import math from argaze import GazeFeatures, DataFeatures @@ -200,6 +201,8 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier): deviation_max = max(self.__deviations) + logging.debug("%s: deviation_max %f", DataFeatures.get_class_path(self), deviation_max) + # Maximal deviation small enough if deviation_max <= self.__deviation_max_threshold: |