GitHunt
HS

hsogo/psychopy_tobii_controller

A module to use tobii_research package with PsychoPy.

psychopy_tobii_controller

psychopy_tobii_controller is a helper module to use tobii_research package with PsychoPy.

Disclaimer: psychopy_tobii_controller is unofficial. It is NOT affiliated with Tobii.

Licence

GPLv3 (https://github.com/hsogo/psychopy_tobii_controller/blob/master/LICENCE)

Author

Hiroyuki Sogo (https://github.com/hsogo)

Requirements

PsychoPy (http://www.psychopy.org/)
tobii_research (https://pypi.python.org/pypi/tobii-research)

Sample codes

sample01.py

Basic usage of tobii_controller is demonstrated in this sample.

  • Initializing tobii_controller object
  • Open/close data file
  • Showing Tobii status display
  • Performing calibration
  • Start/Stop recording
  • Getting the latest gaze position
  • Recording event data

sample02.py

  • Customizing calibation target color and size.
  • Customizing the key to start calibration procedure.
  • Controlling the order of calibration target position.

sample03.py

  • Customizing calibration procedure.

sample04.py

  • Customizing text color in the status display and calibration.
  • Using mouse in the status display and calibration.

sample05.py

  • Customizing key mapping for selecting calibration points.

sample06.py

  • Run a validation test after calibration.

utility_sample01.py

A sample of utility functions.

  • Loading data recorded by psychopy_tobii_controller.
  • Applying moving average to gaze data.
  • Detecting fixations.
  • Plotting gaze data.

Languages

Python100.0%

Contributors

GNU General Public License v3.0
Created June 14, 2017
Updated November 24, 2025