예제 #1
0
	def parse_phase(self, l):

		if self.current_phase in ('cue', 'retention', 'preAttProbe') \
			or 'cue' in l or 'retention' in l or 'preAttProbe' in l:
				s = sample(l)
				if s is None or s.t % DOWNSAMPLE == 0:
					EyeLinkParser.parse_phase(self, l)
예제 #2
0
    def parse_phase(self, l):

        # Only store the sample_stim and wmdelay phases, and downsample the
        # samples to 100 Hz.
        if self.current_phase in ('target', 'fixation') or \
         'target' in l or 'fixation' in l:
            EyeLinkParser.parse_phase(self, l)