diff options
-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.""" |