aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py')
-rw-r--r--src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
index 1c54bd1..95453d2 100644
--- a/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
+++ b/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py
@@ -302,12 +302,12 @@ class TestDispersionThresholdIdentificationClass(unittest.TestCase):
fixation_C = DispersionThresholdIdentification.Fixation(ts_gaze_positions_C)
# Check that fixation doesn't overlap
- self.assertFalse(fixation_A.overlap(fixation_B))
- self.assertFalse(fixation_B.overlap(fixation_A))
+ self.assertFalse(fixation_A.is_overlapping()(fixation_B))
+ self.assertFalse(fixation_B.is_overlapping()(fixation_A))
# Check that fixation overlaps
- self.assertTrue(fixation_B.overlap(fixation_C))
- self.assertTrue(fixation_C.overlap(fixation_B))
+ self.assertTrue(fixation_B.is_overlapping()(fixation_C))
+ self.assertTrue(fixation_C.is_overlapping()(fixation_B))
@unittest.skip("Fixation overlapping is not supported anymore.")
def test_fixation_overlapping_identification(self):
@@ -362,7 +362,7 @@ class TestDispersionThresholdIdentificationClass(unittest.TestCase):
# Iterate on gaze positions
for gaze_position in ts_gaze_positions:
- finished_gaze_movement = gaze_movement_identifier.identify(gaze_position.timestamp, gaze_position, terminate=(gaze_position.timestamp == ts_gaze_positions[-1].timestamp))
+ finished_gaze_movement = gaze_movement_identifier.identify(gaze_position, terminate=(gaze_position.timestamp == ts_gaze_positions[-1].timestamp))
if GazeFeatures.is_fixation(finished_gaze_movement):