Multiple log files of eye tracking
in OpenSesame
Hi,
In my experiment I wish to have multiple tasks. For each task, I have created a separate log file but I wish to create the same for eye tracking data as well. I thought of using the pygaze_init, but it can be used only at a single instance in the entire experiment. So basically, it will create a single log file automatically.
Is there a way to create separate log file of eyetracking data?
Comments
Hello Everyone,
I am still looking for a way to create multiple log files for eye tribe data in open sesame using manual script or any other way possible.
Hi Arpit,
There's the possibility to log eye-tracker data in regular logfiles, by just creating variables that contain those data (make sure your logger logs every variable though). This would be fitting if you need coordinate data fot specific timepoints only (e.g. the start or end of a trial or the onset of a stimulus). If you need a continuous stream of position coordinates it's going to be more complicated, as you can imagine.
In case of the latter, my question would be: why not just log everything in one file? You say you have different tasks; the easiest thing to do then, would be to just log the task type at the begin of each trial (also using pygaze_eyetracker.log(trial_type)). Analyzing eyetracker data requires you to parse logfiles into smaller chunks of data. If you know how to handle such a logfile, then dividing the file into the separate task types is really not going to prove an additional difficulty.
Cheers,
Josh
Hi Josh,
Thanks for the response. I have been doing it in a manner where I create a single log file for all the three tasks.
But the problem arises when I have collected data for two experiments and the experiment crashes or some problem arises whereby I need to restart the experiment. Now, I do not wish to repeat the first two experiments as I already have the data for them but skip them and just run the third experiment. In this case, the log file for eye tracker will be recreated thereby losing the earlier data. I hope you understand my situation.
So in my opinion creating separate log file for each task will be a better idea. Thereby, I wish to record data for each task in a separate log file. Close the log file and reopen a separate log file for each task.
Regards,
Arpit