OpenSesame Plugin: Titta Eye Tracking
An OpenSesame plugin for Tobii eye trackers through Titta: calibration, recording, messages and gaze plotting.
Copyright (C) 2023-2026 Bob Rosbag, Diederick C. Niehorster & Marcus Nyström
About
This plugin makes Titta available in OpenSesame, for experiments with Tobii eye trackers.
Titta is a toolbox for using eye trackers from Tobii Pro AB with Python, specifically offering integration with PsychoPy. A Matlab version that integrates with PsychToolbox is also available from https://github.com/dcnieho/Titta. For a similar toolbox for SMI eye trackers, please see https://github.com/marcus-nystrom/SMITE.
Cite as: Niehorster, D.C., Andersson, R. & Nystrom, M. (2020). Titta: A toolbox for creating PsychToolbox and Psychopy experiments with Tobii eye trackers. Behavior Research Methods. doi: 10.3758/s13428-020-01358-8
Please mention: Bob Rosbag as creator of this plugin
For questions, bug reports or to check for updates on Titta, please visit https://github.com/marcus-nystrom/Titta. For the plugin, please visit https://github.com/dev-jam/opensesame-plugin-titta_eyetracking.
To minimize the risk of missing samples, Titta uses TittaPy, a C++ wrapper around the Tobii SDK, to pull samples made available from the eye tracker. TittaPy is installed together with Titta.
Items
- Titta Init connects to the eye tracker and sets it up: the eye tracker model, dummy mode, calibration settings and an optional operator screen. Place it at the beginning of the experiment.
- Titta Calibrate shows Titta's calibration screen.
- Titta Start Recording starts the recording of the chosen data (gaze, time sync, eye images, notifications, external signal, positioning).
- Titta Send Message sends a message to the recording, e.g. to mark an event.
- Titta Plot Gaze shows the gaze position on the stimulus display and/or the operator display, until a response key is pressed or the timeout has passed.
- Titta Stop Recording stops the recording.
- Titta Save Data saves the recording as
subject-<nr>.h5in the folder of the log file (subject-<nr>_1.h5, ... when that file exists), and can also export it to tsv files. In dummy mode no data is saved.
Requirements
- OpenSesame 4.0 or 4.1 with the PsychoPy backend; the items are hidden for other backends.
- Titta 2.2.2 or newer (installed with the plugin).
- PsychoPy, which comes with OpenSesame (it is not installed with the plugin).
Installation
Install the plugin with pip, in the Python environment of OpenSesame:
pip install opensesame-plugin-titta-eyetracking
License
This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version (GPL-3.0-or-later).
The full license text is in the file COPYING, and is also available at https://www.gnu.org/licenses/gpl-3.0.html.
This plugin contains works of others.
Notes
- One recording per experiment is working properly. Per trial recording (multiple starts and stops within an experiment) has not yet been tested.
Metadata
Release files for opensesame-plugin-titta-eyetracking 7.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opensesame_plugin_titta_eyetracking-7.0.6.tar.gz | 38.4 kB | Without provenance | Details for opensesame_plugin_titta_eyetracking-7.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opensesame_plugin_titta_eyetracking-7.0.6-py3-none-any.whl | Python 3 | none | any | Details for opensesame_plugin_titta_eyetracking-7.0.6-py3-none-any.whl |
Total release size: 108.4 kB
Release files / opensesame_plugin_titta_eyetracking-7.0.6.tar.gz
| Download URL | opensesame_plugin_titta_eyetracking-7.0.6.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de23ba69b2cbdd358e40bc99add9243ddd6866c66b936864e7015ba89901696a
|
|
BLAKE2b-256 checksum How to use checksums |
7fd4a67ad7d698c9dbd56c58935ce0d80f5d1654702068d8d83de733f950a9ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / opensesame_plugin_titta_eyetracking-7.0.6-py3-none-any.whl
| Download URL | opensesame_plugin_titta_eyetracking-7.0.6-py3-none-any.whl |
|---|---|
| Size | 70.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6bf4e772217d98f4e93868b064919be5f7ec2ad472e26e8bade37999898082f
|
|
BLAKE2b-256 checksum How to use checksums |
273a8b8b1682ebaba2dc93a8890aaac96d652199a03c3ddbbf281eee7e2c60a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for opensesame-plugin-titta-eyetracking 7.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.