Now Shipping! – The EyeLink 3; combined head and eye tracking at up to 1000 Hz.

Template: Psychtoolbox Templates
#1
Please note that the following templates are also provided in our EyeLink Developers Kit, which must allso be installed along with Psychtoolbox in order for these templates to run properly. Please see the Getting Started with Psychtoolbox Guide for installation instructions.

A zip folder containing the Psychtoolbox example templates can be downloaded from the link below:

.zip   Psychtoolbox_examples.zip (Size: 31.14 MB / Downloads: 239)

 
Templates Description
EyeLink_SimplePicture A simple EyeLink integration demo that records eye movements passively while an image is presented on the screen. Each trial ends when the space bar or a button is pressed.
EyeLink_StereoPicture EyeLink integration demo for stereo presentation. Records eye movements passively while presenting a stereo stimulus. Supports both split-screen mode and dual-monitor setup. Each trial ends when the space bar is pressed. Data Viewer integration with both left and right eyes superimposed on the same eye window view.
EyeLink_PursuitTarget A smooth pursuit EyeLink integration demo that records eye movements while a target moves sinusoidally across the screen. Each trial ends after 5s.
EyeLink_SimpleVideo Simple video demo with EyeLink integration and animated calibration / drift-check/correction targets. In each trial eye movements are recorded while a video stimulus is presented on the screen. Each trial ends when the space bar is pressed or the video stops playing. A different drift-check/correction animated target is used in each of the 2 trials.
EyeLink_MRI_BlockRecord Simple MRI demo with EyeLink integration. 6 trials are presented in 2 blocks of 3 trials. Trial duration is 5.5s during which a 4s stimulus is presented. A block starts with a drift-check followed by presentation of central crosshairs. Eye movements are recorded while waiting for an MRI trigger (keyboard key 't' in this demo). The stimulus is presented when trigger is received. A fixed ITI is maintained by presenting crosshairs between each 4s stimulus. Eye movements are recorded throughout an entire block rather than on a trial-by-trial basis.
EyeLink_FixWindowBufferedSamples EyeLink gaze-contingent demo that shows how to retrieve online gaze samples from a buffer. In each trial central crosshairs are shown until gaze is detected continuously within a central square window for 500ms or until the space bar is pressed. An image is then presented until the space bar is pressed to end the trial.
EyeLink_FixWindowFastSamples EyeLink gaze-contingent demo showing how to retrieve fast gaze samples online. In each trial central crosshairs are shown until gaze is detected continuously within a central square window for 500ms or until the space bar is pressed. An image is then presented until the space bar is pressed to end the trial.
EyeLink_BufferedEndSacEvents A simple EyeLink gaze-contingent demo showing how to retrieve online events from a buffer. In each trial an image is presented with a red gaze-contingent dot overlaid on top. The dot's location is updated online based on the end x, y coordinates of each saccade detected. Each trial ends when the space bar is pressed.
EyeLink_BufferedFixUpdateEvents A simple EyeLink gaze-contingent demo showing how to retrieve online events from a buffer. In each trial an image is presented with a red gaze-contingent dot overlaid on top. The dot's location is based on the average x, y coordinates of fixations updated online every 50ms via a FIXUPDATE event.
EyeLink_GCFastSamples A simple EyeLink gaze-contingent demo showing how to retrieve fast online samples. In each trial an image is presented with a red gaze-contingent dot overlaid on top. The dot's location is updated online based on the x, y coordinates of the latest gaze sample retrieved online. Each trial ends when the space bar is pressed.