diff options
author | Théo de la Hogue | 2023-07-10 15:01:29 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-07-10 15:01:29 +0200 |
commit | e47d877022a1cb583d914690018a18958dff99ad (patch) | |
tree | 3de64f48aba83903fa8b03dac97ebcb47612f8d9 | |
parent | 49d6cf63d02b80d10c96cfe2edc6fd197558c899 (diff) | |
download | argaze-e47d877022a1cb583d914690018a18958dff99ad.zip argaze-e47d877022a1cb583d914690018a18958dff99ad.tar.gz argaze-e47d877022a1cb583d914690018a18958dff99ad.tar.bz2 argaze-e47d877022a1cb583d914690018a18958dff99ad.tar.xz |
Minor comment change. Using current_gaze_movement attribute.
-rw-r--r-- | src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 4 |
1 files changed, 1 insertions, 3 deletions
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() |