Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

analysing pre-collected Tobii data

Hi! I'm very new to PyGaze and have no idea where I could start with this, so thought I would ask for some pointers.

I have some data that was previously collected on a Tobii system, but for various reasons I would like to analyse it outside of the Tobii software. I guess PyGaze has some functionality for dealing with this data, but I can't really see what to do. I've exported all of the data as .csv files and have a script that aggregates them and performs some basic cleaning, but I think it would be better if I were to actually use a package that can handle eye-tracking data in the first place (like PyGaze I suppose?), rather than writing all of my own buggy code... Any suggestions for where I should start with this?


  • Heya!

    Firstly, it's probably good to distinguish two things: 1) There is PyGaze, a library that allows you to interface with eye trackers of different makes (SR Research's EyeLink, SensoMotoric Instruments, Tobii, EyeTribe, and GazePoint). 2) There is PyGaze Analyser, a library with some rudimentary data reading and plotting functions.

    Because you're talking about analysing data, I'm assuming you're talking about the Analyser, and so my comment here is based on that. Do correct me if my assumption is wrong, and please also specify what exactly it is that you're trying to do.

    The Analyser has functions for reading data from converted EDF files (produced on EyeLink systems), for reading EyeTribe data files (produced using PyGaze or PyTribe), for reading converted IDF files (produced by SMI devices), and for reading GazePoint files (produced through the PyGaze and PyOpenGaze implementations of GazePoint's OpenGaze API).

    After reading your file into a common format, the Analyser library allows you to do very simple fixation and saccade detection. It also allows you to do some plotting, such as fixations and heatmaps on stimulus images. It also has a trace data toolkit for filtering etc. (useful for pupil data).

    In your case, considering you have Tobii data files, you might be interested in writing a reader add-on yourself. Good examples to use as inspiration for this are the EyeTribe reader and the IDF reader. After implementing this, you should be able to use the plotting and trace functions.

    Good luck!

Sign In or Register to comment.