A Python library for reading, preprocessing and exporting Pupil Labs Neon data
Project description
PyNeon
PyNeon is a lightweight Python package designed to streamline the processing and analysis of multimodal data from the Neon eye-tracking system (Pupil Labs GmbH). This community-driven effort provides a versatile set of tools to work with Neon's rich data, including gaze, eye states, IMU, video, events, and more.
PyNeon supports both native (data stored in the companion device) and Pupil Cloud data formats. We want to acknowledge the pupil-labs/pl-neon-recording project, which inspired the design of PyNeon.
Documentation for PyNeon is available at https://ncc-brain.github.io/PyNeon/ which includes detailed references for classes and functions, as well as step-by-step tutorials presented as Jupyter notebooks.
We also created a few sample datasets containing short Neon recordings for testing and tutorial purposes. These datasets can be found on OSF. We also provide a utility function get_sample_data() to download these sample datasets directly from PyNeon.
Key Features
- Easy API for reading in datasets, recordings, or individual modalities of data.
- (Tutorial) Various preprocessing functions, including data cropping, interpolation, concatenation, etc.
- (Tutorial) Flexible epoching of data for trial-based analysis.
- (Tutorial) Methods for working with scene video, including scanpath estimation and AprilTags-based mapping.
- (Tutorial) Exportation to Motion-BIDS and Eye-Tracking-BIDS formats for interoperability across the cognitive neuroscience community.
Installation
To install the development version of PyNeon:
pip install git+https://github.com/ncc-brain/PyNeon.git
A PyPI release is planned for the future.
Citing PyNeon
If you use PyNeon in your research, please cite the accompanying paper as follows:
@misc{pyneon,
title={PyNeon: A Python package for the analysis of Neon multimodal mobile eye-tracking data},
url={osf.io/preprints/psyarxiv/y5jmg_v2},
DOI={10.31234/osf.io/y5jmg_v2},
publisher={PsyArXiv},
author={Chu, Qian and Hartel, Jan-Gabriel and Lepauvre, Alex and Melloni, Lucia},
year={2025},
month={August}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyneon-0.0.1.tar.gz.
File metadata
- Download URL: pyneon-0.0.1.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a615ef1c091dfb83f54d79dd80c21dcc46685b6194c4665f3fa789d0ed97263
|
|
| MD5 |
fb98868149b4f5524150ccf66b3a6447
|
|
| BLAKE2b-256 |
777ec9aa501bafe11b3ca0f68831117b315891a355a158a1cd2734ae4a62d082
|
Provenance
The following attestation bundles were made for pyneon-0.0.1.tar.gz:
Publisher:
publish-pypi.yml on ncc-brain/PyNeon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyneon-0.0.1.tar.gz -
Subject digest:
7a615ef1c091dfb83f54d79dd80c21dcc46685b6194c4665f3fa789d0ed97263 - Sigstore transparency entry: 1102125092
- Sigstore integration time:
-
Permalink:
ncc-brain/PyNeon@d82e646c76bc0df75553bd417e1e3a671805b124 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/ncc-brain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d82e646c76bc0df75553bd417e1e3a671805b124 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyneon-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyneon-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6831e0eb4b3f797ea7c7068fa03986795127920af359f7095e08e22b746ed54
|
|
| MD5 |
4d66a50979ddc7ffa1a883ddf1ccea9c
|
|
| BLAKE2b-256 |
df300a4a64666a1652989aac95074b8267a1272297f370133da5730c5a8aff54
|
Provenance
The following attestation bundles were made for pyneon-0.0.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on ncc-brain/PyNeon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyneon-0.0.1-py3-none-any.whl -
Subject digest:
d6831e0eb4b3f797ea7c7068fa03986795127920af359f7095e08e22b746ed54 - Sigstore transparency entry: 1102125093
- Sigstore integration time:
-
Permalink:
ncc-brain/PyNeon@d82e646c76bc0df75553bd417e1e3a671805b124 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/ncc-brain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d82e646c76bc0df75553bd417e1e3a671805b124 -
Trigger Event:
push
-
Statement type: