aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-04-10 16:51:21 +0200
committerThéo de la Hogue2024-04-10 16:51:21 +0200
commitd6ad7c9a59ea500d1293f04d88bd8dfecf65380f (patch)
tree32d301cf95db438459d4856d2b6979d7533c208e
parentec39d7943f090b8c0a7340aa03a997f2d5006e2a (diff)
downloadargaze-d6ad7c9a59ea500d1293f04d88bd8dfecf65380f.zip
argaze-d6ad7c9a59ea500d1293f04d88bd8dfecf65380f.tar.gz
argaze-d6ad7c9a59ea500d1293f04d88bd8dfecf65380f.tar.bz2
argaze-d6ad7c9a59ea500d1293f04d88bd8dfecf65380f.tar.xz
updating timestamped gaze position edition documentation.
-rw-r--r--docs/user_guide/gaze_analysis_pipeline/timestamped_gaze_positions_edition.md8
1 files changed, 4 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 388b0ac..022899e 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
@@ -1,7 +1,7 @@
Edit timestamped gaze positions
===============================
-Whatever eye data comes from a file on disk or from a live stream, timestamped gaze positions are required before to go further.
+Whatever eye data comes from a file on disk or from a live stream, timestamped gaze positions are required before going further.
![Timestamped gaze positions](../../img/timestamped_gaze_positions.png)
@@ -28,7 +28,7 @@ for timestamped_gaze_position in ts_gaze_positions:
## Edit timestamped gaze positions from live stream
-When gaze positions comes from a real-time input, gaze position can be edited thanks to [GazePosition](../../argaze.md/#argaze.GazeFeatures.GazePosition) class.
+Real-time gaze positions can be edited thanks to the [GazePosition](../../argaze.md/#argaze.GazeFeatures.GazePosition) class.
Besides, timestamps can be edited from the incoming data stream or, if not available, they can be edited thanks to the Python [time package](https://docs.python.org/3/library/time.html).
```python
@@ -49,7 +49,7 @@ from argaze import GazeFeatures
import time
-# Init timestamp
+# Initialize timestamp
start_time = time.time()
# Assuming to be inside the function where only gaze_x and gaze_y values are catched (no timestamp)
@@ -63,7 +63,7 @@ start_time = time.time()
```
!!! warning "Free time unit"
- Timestamps can either be integer or float, second, millisecond or what ever you need. The only concern is that all time values used in further configurations have to be all the same unit.
+ Timestamps can either be integers or floats, seconds, milliseconds or what ever you need. The only concern is that all time values used in further configurations have to be in the same unit.
<!--
!!! Note "Eyetracker connectors"