aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/GazeFeatures.py8
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."""