diff options
author | Théo de la Hogue | 2024-03-11 09:08:10 +0100 |
---|---|---|
committer | Théo de la Hogue | 2024-03-11 09:08:10 +0100 |
commit | 5695ed20c71920c6189d01212d4f5c7a90880a6f (patch) | |
tree | eb05f4fe1831d6395d0569113f94a19114aeb6ba /src | |
parent | addbaaef4265688916f355d4cde24c96f0605cf9 (diff) | |
download | argaze-5695ed20c71920c6189d01212d4f5c7a90880a6f.zip argaze-5695ed20c71920c6189d01212d4f5c7a90880a6f.tar.gz argaze-5695ed20c71920c6189d01212d4f5c7a90880a6f.tar.bz2 argaze-5695ed20c71920c6189d01212d4f5c7a90880a6f.tar.xz |
Updating comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 9 |
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() |