From f93d3e2b011fe1c1de93d0094ca45584ddd49936 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 28 Aug 2023 15:05:01 +0200 Subject: Improving gaze analysis pipeline documentation. --- .../gaze_analysis_pipeline/timestamped_gaze_positions_edition.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md') 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 -- cgit v1.1