eyelinkparser.parse returns empty list
Dear everybody,
working on my master thesis I want to analyse some eyetracking data and found your toolbox, which seems pretty cool to me.
But sadly it does not work properly with my data. When calling eyelinkparser.parse on the folder containing my data it returns an empty list. Strangly it works fine with your example data.
I inspected your and my data files but cannot find any significant differences. The only difference I can find is in my data I have:
10350642 864.3 542.7 2317.0
and in yours I have:
1030724 223.7 381.1 1431.0 ...
Do those three dots make the difference? I tried adding those points to a couple of data points, but that did not change anything.
Here some header info, if it helps:
** CONVERTED FROM s1b1r1.edf using edfapi 3.1 Linux Mar 9 2017 on Thu Mar 19 09:42:35 2020 ** DATE: Mon Feb 3 10:28:19 2020 ** TYPE: EDF_FILE BINARY EVENT SAMPLE TAGGED ** VERSION: EYELINK II 1 ** SOURCE: EYELINK CL ** EYELINK II CL v5.12 May 12 2017 ** CAMERA: Eyelink GL Version 1.2 Sensor=AF7 ** SERIAL NUMBER: CLG-BEC12 ** CAMERA_CONFIG: BEC12200.SCD **
Cheers Vincent
Comments
Hi Vincent,
But sadly it does not work properly with my data. When calling eyelinkparser.parse on the folder containing my data it returns an empty list. Strangly it works fine with your example data.
eyelinkparser.parser()returns aDataMatrixobject, not alist.This datamatrix will be empty if no trials are detected in the data, which is usually because there are no
start_trialmessages in the format that the parser expects.Another problem can occur if the trials are detected, but the phases within the trials are not, usually because there are no
start_phasemessages in the format that the parser expects.Have you looked at this tutorial? It explains the format that is expected by the parser:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!