def test_combiner_drops_out_of_bounds_points(self): # Some gazepoints are outside of the event timeline... combiner = viewing.Combiner( timeline = self.timeline, scanpath = self.scanpath ) viewings = combiner.viewings() lt_( sum(len(pres.scanpath) for pres in viewings), len(self.scanpath) )
def test_viewings_drops_fixations_outside_stimuli(self): lt_( sum(len(pres.scanpath) for pres in self.viewings), len(self.fixations) )