Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/p/y/PyGaze-HEAD/pygaze/_eyetracker/libeyelink.py   PyGaze(Download)
		self.send_command("drift_correction_targets = %d %d" % pos)
		self.send_command("start_drift_correction data = 0 0 1 0")
		pylink.msecDelay(50);
		# wait for a bit until samples start coming in (again, not sure if this
		# is indeed what's going on)
				"WARNING libeyelink.libeyelink.start_recording(): Failed to start recording (attempt %d of %d)" \
				% (i, self.MAX_TRY))
			pylink.msecDelay(100)
		# don't know what this is
		pylink.pylink.beginRealTimeMode(100)
		pylink.endRealTimeMode()
		pylink.getEYELINK().setOfflineMode()
		pylink.msecDelay(500)
 
	def close(self):
		print("libeyelink.libeyelink.close(): Closing data file")
		pylink.getEYELINK().closeDataFile()
		pylink.msecDelay(500)
		print("libeyelink.libeyelink.close(): Transferring %s to %s" \
			% (self.eyelink_data_file, self.local_data_file))
		pylink.getEYELINK().receiveDataFile(self.eyelink_data_file, \
			self.local_data_file)
		pylink.msecDelay(500)