From e47d877022a1cb583d914690018a18958dff99ad Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 10 Jul 2023 15:01:29 +0200 Subject: Minor comment change. Using current_gaze_movement attribute. --- src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py index ae7105e..5dd582d 100644 --- a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py +++ b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py @@ -133,10 +133,8 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier): if (ts - ts_last) > self.duration_min_threshold: - # What about last valid positions !? - # Get last movement - last_movement = self.current_saccade.finish() if len(self.__fixation_positions) == 0 else self.current_fixation.finish() + last_movement = self.current_gaze_movement.finish() # Clear all former gaze positions self.__valid_positions = GazeFeatures.TimeStampedGazePositions() -- cgit v1.1