aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThéo de la Hogue2024-02-29 16:40:52 +0100
committerThéo de la Hogue2024-02-29 16:40:52 +0100
commitaddbaaef4265688916f355d4cde24c96f0605cf9 (patch)
tree56913dc313697f794eef9691760baad9a4df2273 /docs
parent9c42e9f1ee8208e14dadcb73cf030a9baef236ed (diff)
parentac8cc60d27a57c892354214b04327878b511cc44 (diff)
downloadargaze-addbaaef4265688916f355d4cde24c96f0605cf9.zip
argaze-addbaaef4265688916f355d4cde24c96f0605cf9.tar.gz
argaze-addbaaef4265688916f355d4cde24c96f0605cf9.tar.bz2
argaze-addbaaef4265688916f355d4cde24c96f0605cf9.tar.xz
Merge branch 'fast_idt' into logging
Diffstat (limited to 'docs')
-rw-r--r--docs/user_guide/gaze_analysis_pipeline/advanced_topics/scripting.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/advanced_topics/scripting.md b/docs/user_guide/gaze_analysis_pipeline/advanced_topics/scripting.md
index c3c0266..11e561e 100644
--- a/docs/user_guide/gaze_analysis_pipeline/advanced_topics/scripting.md
+++ b/docs/user_guide/gaze_analysis_pipeline/advanced_topics/scripting.md
@@ -80,7 +80,7 @@ Calling [ArFrame.look](../../../argaze.md/#argaze.ArFeatures.ArFrame.look) metho
... ar_frame.last_gaze_position
# Check if a gaze movement has been identified
- if ar_frame.last_gaze_movement.valid and ar_frame.last_gaze_movement.finished:
+ if ar_frame.last_gaze_movement and ar_frame.last_gaze_movement.finished:
# Do something with identified fixation
if GazeFeatures.is_fixation(ar_frame.last_gaze_movement):
@@ -125,7 +125,7 @@ This is the last calibrated [GazePosition](../../../argaze.md/#argaze.GazeFeatur
### *ar_frame.last_gaze_movement*
-Last [GazeMovement](../../../argaze.md/#argaze.GazeFeatures.GazeMovement) identified by [ArFrame.gaze_movement_identifier](../../../argaze.md/#argaze.ArFeatures.ArFrame) object from incoming consecutive timestamped gaze positions. If no gaze movement have been identified, it returns an [UnvalidGazeMovement](../../../argaze.md/#argaze.GazeFeatures.UnvalidGazeMovement).
+Last [GazeMovement](../../../argaze.md/#argaze.GazeFeatures.GazeMovement) identified by [ArFrame.gaze_movement_identifier](../../../argaze.md/#argaze.ArFeatures.ArFrame) object from incoming consecutive timestamped gaze positions. If no gaze movement have been identified, it returns an empty [GazeMovement](../../../argaze.md/#argaze.GazeFeatures.GazeMovement).
This could also be the current gaze movement if [ArFrame.filter_in_progress_identification](../../../argaze.md/#argaze.ArFeatures.ArFrame) attribute is false.
In that case, the last gaze movement *finished* flag is false.