This chapter covers many of the types of analyses and visualizations that one would conduct with gaze and pupil data, but it does so without going into too much detail on the required libraries (NumPy, Matplotlib, Pandas, Python Imaging Library). The chapter on data analysis explains the EDF format, the required conversion tool, and ways to process gaze and pupil data in Python scripts. The book extensively covers Pylink's functions, and explains how to set up a custom graphics class that allows readers to use EyeLink with their package of choice for psychology experiments (e.g. The book explains what types of log messages are necessary to include in their data files to make the analysis as smooth as possible. Despite having used Pylink for almost a decade and having spent numerous hours reading through its documentation, I genuinely learned new things from these chapters.ĭuring the experimentation chapters, readers are primed for later analyses with DataViewer, proprietary software from SR Research to process gaze data. This includes advanced functionality that few other guides cover, like how to draw graphics or send TTL pulses on the host PC (the recording computer). After covering the basics of eye tracking, the author dedicates several chapters on how to construct experiments using the Pylink library, and then on how to analyze the produced EyeLink Data Format (EDF) files. This book is about Pylink, and it really delivers on that promise. That said, the basics are not what this book is for. The same is true for the chapters on experimentation with PsychoPy and PyGame, which introduce their basic syntax without much depth. The coverage is relatively short, quite shallow, and seems to serve as a reminder more than anything else. If you’re buying this book for its introduction to running experiments in Python, you might come away a bit disappointed. You would be hard-pressed to find a more comprehensive tutorial and reference to getting started with Python and EyeLink. The real strength of this book is in its extensive coverage of the Pylink library, a Python package produced by SR Research for its EyeLink eye-trackers. It provides a quick introduction to the Python programming language and to coding experiments with the PsychoPy or PyGame packages. Eye-Tracking with Python and Pylink by Zhiguo Wang (2021) is one of those books that does exactly what it says on the cover.
0 Comments
Leave a Reply. |