aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-03-11 09:09:08 +0100
committerThéo de la Hogue2024-03-11 09:09:08 +0100
commitf79ae179542f16e99811503ec0b132bebc5d9f5c (patch)
treeb76f2b229bb513520052d212e8251d3cd8d1d399
parentda4fa3e05007d397430444bc3998d130479429ad (diff)
downloadargaze-f79ae179542f16e99811503ec0b132bebc5d9f5c.zip
argaze-f79ae179542f16e99811503ec0b132bebc5d9f5c.tar.gz
argaze-f79ae179542f16e99811503ec0b132bebc5d9f5c.tar.bz2
argaze-f79ae179542f16e99811503ec0b132bebc5d9f5c.tar.xz
Updating comments.
-rw-r--r--src/argaze/GazeAnalysis/VelocityThresholdIdentification.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py b/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py
index a95905f..fef1fbd 100644
--- a/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py
+++ b/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py
@@ -8,7 +8,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
@@ -227,7 +226,7 @@ class GazeMovementIdentifier(GazeFeatures.GazeMovementIdentifier):
# Output last saccade
return last_saccade if not terminate else self.current_fixation.finish()
- # Always return unvalid gaze movement at least
+ # Always return empty gaze movement at least
return GazeFeatures.GazeMovement()
@property
@@ -244,7 +243,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
@@ -254,7 +253,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
@@ -264,5 +263,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()