From da17ef741517b3d4453511c2c0bb62e3e0716ed3 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Thu, 25 Apr 2024 15:30:48 +0200 Subject: Logging deviation_max --- src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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: -- cgit v1.1