diff options
Diffstat (limited to 'docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md')
-rw-r--r-- | docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md b/docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md index e7deab2..3b30bf8 100644 --- a/docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md +++ b/docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md @@ -22,8 +22,8 @@ ts_gaze_positions = GazeFeatures.TimeStampedGazePositions.from_dataframe(datafra # Iterate over timestamped gaze positions for timestamp, gaze_position in ts_gaze_positions.items(): - # Do something with each timestamped gaze position - ... + # Do something with each timestamped gaze position + ... ``` ## Edit gaze positions from live stream @@ -36,6 +36,7 @@ from argaze import GazeFeatures # Assuming to be inside the function where timestamp_µs, gaze_x and gaze_y values are catched ... + # Edit a second timestamp from a microsecond second timestamp timestamp = timestamp_µs * 1e-6 @@ -43,7 +44,7 @@ from argaze import GazeFeatures gaze_position = GazeFeatures.GazePosition((gaze_x, gaze_y)) # Do something with each timestamped gaze position - ... + ... ``` ``` python @@ -64,7 +65,7 @@ start_time = time.time() gaze_position = GazeFeatures.GazePosition((gaze_x, gaze_y)) # Do something with each timestamped gaze position - ... + ... ``` !!! warning |