diff options
author | Théo de la Hogue | 2022-05-03 16:38:45 +0200 |
---|---|---|
committer | Théo de la Hogue | 2022-05-03 16:38:45 +0200 |
commit | 9bc7c5224e0dce38933b4f8ba033b7c5b1ff4f43 (patch) | |
tree | 3a51344950a6c3d323c85f278e654f033ac6d5d7 | |
parent | 1ff578b423c9eca99f8f1fb6e07b3ec13912b417 (diff) | |
download | argaze-9bc7c5224e0dce38933b4f8ba033b7c5b1ff4f43.zip argaze-9bc7c5224e0dce38933b4f8ba033b7c5b1ff4f43.tar.gz argaze-9bc7c5224e0dce38933b4f8ba033b7c5b1ff4f43.tar.bz2 argaze-9bc7c5224e0dce38933b4f8ba033b7c5b1ff4f43.tar.xz |
Closing started steps.
-rw-r--r-- | src/argaze/GazeFeatures.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py index 50104d4..723b289 100644 --- a/src/argaze/GazeFeatures.py +++ b/src/argaze/GazeFeatures.py @@ -322,6 +322,14 @@ class PointerBasedVisualScan(VisualScanGenerator): except KeyError: pass + # close started steps + for name, step in self.__step_dict.items(): + + ts_start = step['start'] + + # aoi stops to be looked + yield round(ts_start), VisualScanStep(round(ts_current - ts_start), name, step['look_at']) + class FixationBasedVisualScan(VisualScanGenerator): """Build visual scan on the basis of timestamped fixations.""" |