From 5695ed20c71920c6189d01212d4f5c7a90880a6f Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 11 Mar 2024 09:08:10 +0100 Subject: Updating comments. --- src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') 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() -- cgit v1.1