Example #1
0
    # draw to screen
    scr.clear()
    scr.draw_text("The dot should follow your eye movements")
    scr.draw_fixation(fixtype='dot', pos=gazepos, pw=3, diameter=15)
    disp.fill(scr)
    disp.show()
tracker.stop_recording()
scr.clear()

# tracker.drift_correction
scr.clear()
scr.draw_text("Next is a drift check. Press Space to start!")
disp.fill(scr)
disp.show()
kb.get_key()
tracker.drift_correction()

# tracker.fix_triggered_drift_correction
scr.clear()
scr.draw_text(
    "Next is a fixation triggered drift check. Press Space to start!")
disp.fill(scr)
disp.show()
kb.get_key()
tracker.fix_triggered_drift_correction()

# events
eventfuncs = [
    tracker.wait_for_fixation_start,
    tracker.wait_for_fixation_end,
    tracker.wait_for_saccade_start,
Example #2
0
	# draw to screen
	scr.clear()
	scr.draw_text("The dot should follow your eye movements")
	scr.draw_fixation(fixtype='dot', pos=gazepos, pw=3, diameter=15)
	disp.fill(scr)
	disp.show()
tracker.stop_recording()
scr.clear()

# tracker.drift_correction
scr.clear()
scr.draw_text("Next is a drift check. Press Space to start!")
disp.fill(scr)
disp.show()
kb.get_key()
tracker.drift_correction()

# tracker.fix_triggered_drift_correction
scr.clear()
scr.draw_text("Next is a fixation triggered drift check. Press Space to start!")
disp.fill(scr)
disp.show()
kb.get_key()
tracker.fix_triggered_drift_correction()

# events
eventfuncs = [
	tracker.wait_for_fixation_start,
	tracker.wait_for_fixation_end,
	tracker.wait_for_saccade_start,
	tracker.wait_for_saccade_end,