====== EyeLink Analysis ====== ===== Reading EDF ===== The tracker writes .edf files containing [[https://www.sr-research.com/support/thread-7675.html|samples, messages, and events]] There are [[https://www.sr-research.com/support/thread-7674.html|various tools]] to read these files. * matlab: ''[[https://github.com/UT-VisionMotionDecision/edfmex/tree/master|edfmex]]'' tool * R: ''[[https://cran.r-project.org/web/packages/eyelinkReader/index.html|eyelinkReader]]'' * python: ''[[https://github.com/scott-huberty/eyelinkio|eyelinkio]]'' or ''[[https://github.com/s-ccs/pyedfread|pyedfread]]'' * to ascii for universal reading: ''edf2asc'' in developer SDK ([[https://www.sr-research.com/support/docs.php?topic=linuxsoftware|linux]]) ===== Matching saccades to task events ===== [[https://github.com/LabNeuroCogDevel/autoeyescore/blob/master/EyeLink/|example R code]] - "score" x-only gaze/saccade to left or right ("VGS" or "Anti") during short stimulus event "dot"