aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/GazeAnalysis/DispersionThresholdIdentification.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
index 2b89cf6..2cb2acf 100644
--- a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
+++ b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py
@@ -9,7 +9,6 @@ __copyright__ = "Copyright 2023, Ecole Nationale de l'Aviation Civile (ENAC)"
__license__ = "BSD"
from typing import TypeVar, Tuple
-from dataclasses import dataclass, field
import math
from argaze import GazeFeatures, DataFeatures
@@ -230,7 +229,7 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
# Move oldest valid position into saccade positions
self.__saccade_positions.append(self.__valid_positions.pop(0))
- # Always return unvalid gaze movement at least
+ # Always return empty gaze movement at least
return GazeFeatures.GazeMovement()
@property
@@ -247,7 +246,7 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
return Saccade(self.__saccade_positions)
- # Always return unvalid gaze movement at least
+ # Always return empty gaze movement at least
return GazeFeatures.GazeMovement()
@property
def current_fixation(self) -> FixationType:
@@ -256,7 +255,7 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
return Fixation(self.__fixation_positions)
- # Always return unvalid gaze movement at least
+ # Always return empty gaze movement at least
return GazeFeatures.GazeMovement()
@property
@@ -266,5 +265,5 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
return Saccade(self.__saccade_positions)
- # Always return unvalid gaze movement at least
+ # Always return empty gaze movement at least
return GazeFeatures.GazeMovement()