3

It's been quite some time since I used Python as I've been focusing on R in recent months.

I've been using eye-tracking in Opensesame recently. I've placed Eyelink Logs 'PreBeep1' with content "PreBeep1_1st_Sketchpad" and 'PostBeep2' with content "PostBeep2" in the trial timeline.

Between these Eyetracking Logs is the part of each trial I want to analyse eye movement.

I've never worked with analysing eye-tracking data before and I'm not sure where to start.

Can anyone offer advice, such as useful libraries, how to extract/analyse data etc. Or perhaps even relevant example code.

I want to be able to identify if/when participants moved away from fixation during the period of interest and by how much.

I'm told this is not the most complicated eye-tracking data to look at, but as I've said I'm knew to it.

Thanks for taking the time to read and consider this.

I've attached an example file:

https://www.dropbox.com/s/0ur549kx0oamo6j/P10E2C.edf

Docconcoct
  • 2,040
  • 4
  • 28
  • 52
  • A quick Google search turned up [this](http://osdoc.cogsci.nl/devices/eyelink/). Not sure if it's helpful though... – Drewness Mar 24 '14 at 18:33
  • Thanks for that but that's the pylink installation page. I've already installed and run Opensesame with pylink and collect the data. – Docconcoct Mar 25 '14 at 12:34
  • I see, so you're wanting to analyze the collected data. I assume the EDF files are unicode, do you know? utf-8, latin-1, etc. – Drewness Mar 25 '14 at 12:50
  • I'm not sure. However, it seems they can be converted to .txt files. I'm going to look into doing that and seeing what I can do with the data. – Docconcoct Mar 25 '14 at 13:43
  • Sounds good. Let us know what you find out and how we can help! – Drewness Mar 25 '14 at 13:50
  • EDF files can indeed be converted to asc files using software that comes with the eyetracker. From there the data will need to be shaped and that is addressed here: http://stackoverflow.com/questions/24893467/shaping-data-in-python - Granted the data in that thread had already been mined from the asc and written to a csv. – Docconcoct Jul 25 '14 at 11:42
  • I think I could help you a bit, but your dropbox link to the EDF is broken :o( – heltonbiker Nov 27 '14 at 12:25
  • 1
    might be a little bit too late but I did code a package to do eye data analysis with python :) write me back if you are still in the game! – DaniPaniz Nov 09 '18 at 15:27
  • Hi @DaniPaniz. I've actually recently taken on a new eye-tracking dataset. I'm interested in looking at your package for sure. – Docconcoct Nov 09 '18 at 16:14
  • great, the code is messy and badly documented (INAP), can I mail you? – DaniPaniz Nov 10 '18 at 15:50

0 Answers0