diff options
author | Théo de la Hogue | 2024-02-28 13:57:31 +0100 |
---|---|---|
committer | Théo de la Hogue | 2024-02-28 13:57:31 +0100 |
commit | 5f915a84f32405dc8bddae4ecbf95f4745af6fbc (patch) | |
tree | f882ba799e2fc8a824274fe32ac4ae48511690a9 /src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py | |
parent | d6754148e3866cd8051ff01d1dbbd5534664bc2a (diff) | |
download | argaze-5f915a84f32405dc8bddae4ecbf95f4745af6fbc.zip argaze-5f915a84f32405dc8bddae4ecbf95f4745af6fbc.tar.gz argaze-5f915a84f32405dc8bddae4ecbf95f4745af6fbc.tar.bz2 argaze-5f915a84f32405dc8bddae4ecbf95f4745af6fbc.tar.xz |
More work on TimestampedGazePositions and GazeMovements.
Diffstat (limited to 'src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py')
-rw-r--r-- | src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py b/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py index 425d592..24f2e3c 100644 --- a/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py +++ b/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py @@ -53,7 +53,7 @@ def build_gaze_fixation(size: int, start_position: tuple, deviation_max: float, else: - gaze_position = GazeFeatures.UnvalidGazePosition() + gaze_position = GazeFeatures.GazePosition() # Store gaze position ts = time.time() - start_time + start_ts @@ -91,7 +91,7 @@ def build_gaze_saccade(size: int, center_A: tuple, center_B: tuple, min_time: fl else: - gaze_position = GazeFeatures.UnvalidGazePosition() + gaze_position = GazeFeatures.GazePosition() # Store gaze position ts = time.time() - start_time + start_ts |