psychtoolbox

eyetracking with eyelink in psychtoolbox, now with oop

I’ve started trying out MATLAB’s OOP after mounting suspicion that the way I’d been coding experiments basically involved making something that looked and behaved like an object–but did so in a convoluted and inefficient way. See this post on eyetracking with PTB as proof. This post is brief, and is about as well thought out as a github gist/gitlab snippet. The two classes I’ll work with here is a Window class and a Tracker class.

eyetracking with eyelink in psychtoolbox

UPDATE: I now think that the examples I’ve presented here obscure the interface with Eyelink. Much cleaner to use MATLAB’s object oriented programming. This is covered in another post. This post is designed as minimal documentation for using the Eyelink software at the UMass Amherst hMRC. The goals are very modest Provide sample Psychtoolbox (PTB) and MATLAB code for integrating eyelink Explain a few parameters that you might want to change in your experiment The main audience includes members of the cMAP and CEMNL labs at UMass, but other users of the hMRC may also benefit.