diff options
author | Théo de la Hogue | 2022-09-06 13:39:25 +0200 |
---|---|---|
committer | Théo de la Hogue | 2022-09-06 13:39:25 +0200 |
commit | 184c44de7c33401cc0deb1ac3da5987ab0d27b5a (patch) | |
tree | 42e2c82c44ea53f083cd2e1e5e0e600d96638804 /src | |
parent | 7e8fdf3a7af580f58414e442a364bc6704fc927d (diff) | |
download | argaze-184c44de7c33401cc0deb1ac3da5987ab0d27b5a.zip argaze-184c44de7c33401cc0deb1ac3da5987ab0d27b5a.tar.gz argaze-184c44de7c33401cc0deb1ac3da5987ab0d27b5a.tar.bz2 argaze-184c44de7c33401cc0deb1ac3da5987ab0d27b5a.tar.xz |
Defining gaze precision.
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/GazeFeatures.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py index fc07ca2..18a7e0c 100644 --- a/src/argaze/GazeFeatures.py +++ b/src/argaze/GazeFeatures.py @@ -18,6 +18,15 @@ class TimeStampedGazePositions(DataStructures.TimeStampedBuffer): def __setitem__(self, key, value: GazePosition): super().__setitem__(key, value) +GazePrecision = float +"""Define gaze precision as a float number.""" + +class TimeStampedGazePrecisions(DataStructures.TimeStampedBuffer): + """Define timestamped buffer to store gaze precisions.""" + + def __setitem__(self, key, value: GazePrecision): + super().__setitem__(key, value) + @dataclass class Movement(): """Define abstract movement class.""" |