Skip to main content

PupEyes: Your Buddy for Pupil Size and Eye Movement Data Analysis

Project description

PupEyes: Your Buddy for Pupil Size and Eye Movement Data Analysis

Python Version License Jupyter Book Badge GitHub issues Github All Releases ReadtheDocs Binder PupEyes

Overview

PupEyes is a Python package for preprocessing and visualizing eye movement data. It handles pupil size preprocessing and supports interactive visualization of pupil size and fixation data. It was designed to streamline data preparation so you can analyze your data with ease and confidence.

Try PupEyes in MyBinder!

Tutorials and API Reference

Preprint

Higlights

Best practices

The pupil data preprocessing pipeline is desgined based on the best practices available.

Pandas integration

Raw data is cleaned and prepared as a pandas dataframe, allowing you to enjoy the vast data analysis and manipulation methods offered by the pandas ecosystem.

Interactive interface

Multiple interactive visualizations using Plotly Dash allow you understand your data better.

Pupil Viewer: Examining Pupil Preprocessing Steps

Fixation Viewer: Visualize Fixation Patterns

AOI Drawing Tool: Flexibly Define AOIs

Installation

pip install pupeyes

or install the latest development version from Github

pip install git+https://github.com/HanZhang-psych/pupeyes.git

Documentation

Tutorials and API reference are available at Read the Docs.

Compatibility

While some PupEyes features are specific to Eyelink eye-trackers, many tools are compatible with any eye movement data.

Contributing

Please report bugs if you notice any. See the Contributing Guidelines for details on how to submit pull requests, report issues, and contribute to the project.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details.

Citation

If you use PupEyes in your research, please cite our preprint

@misc{zhang_pupeyes_2025,
	title = {{PupEyes}: An Interactive Python Library for Pupil Size and Eye Movement Data Processing},
	url = {https://osf.io/h95ma_v1},
	doi = {10.31234/osf.io/h95ma_v1},
	shorttitle = {{PupEyes}},
	publisher = {{OSF}},
	author = {Zhang, Han and Jonides, John},
	urldate = {2025-04-16},
	date = {2025-04-07}
}

Changelog

See CHANGELOG.md for a list of changes in each release.


The project began as an attempt to formalize the eye-tracking processing scripts used in my past research. It then evolved into a much bigger project (as is always the case).

I hope PupEyes will be useful to the eye-tracking community!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pupeyes-0.3.7.tar.gz (91.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pupeyes-0.3.7-py3-none-any.whl (98.6 kB view details)

Uploaded Python 3

File details

Details for the file pupeyes-0.3.7.tar.gz.

File metadata

  • Download URL: pupeyes-0.3.7.tar.gz
  • Upload date:
  • Size: 91.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0

File hashes

Hashes for pupeyes-0.3.7.tar.gz
Algorithm Hash digest
SHA256 029485c6894b316f8fc96abf982712e0e640222d9a0887d18271ab86b3a354ed
MD5 2a361005217f7b6c5af6fb89cbcb3af4
BLAKE2b-256 d25b7b4925e2453f5efb16a3304881fc51f58c2f0ce6f67ddd27f470047ab934

See more details on using hashes here.

File details

Details for the file pupeyes-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: pupeyes-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 98.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.6.0

File hashes

Hashes for pupeyes-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e898db1909d6bdc5b19ab4205c54f221804e67dd5ea4fb929c199c11dda4b528
MD5 cb411b412b284cc01bf1f0f14f8e581a
BLAKE2b-256 62aac35689106352b881152f69f635aa68626477063d0ef4c20db79fa541c162

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page