Skip to main content

A python package for processing eye movement data

Project description

pymovements


PyPI Latest Release Conda Latest Release PyPI status Python version Operating System License Test Status Documentation Status codecov PyPI Downloads Binder

pymovements is an open-source python package for processing eye movement data. It provides a simple interface to download publicly available datasets, preprocess gaze data, detect oculomotoric events and render plots to visually analyze your results.

Getting Started

With pymovements loading your eye movement datasets is just a few lines of code away

import pymovements as pm

dataset = pm.Dataset(
    'JuDo1000',  # choose a public dataset from our dataset library
    path='data/judo100',  # setup your local dataset path
)
dataset.download()  # download a public dataset from our dataset library
dataset.load()  # load the dataset

calculate velocities on the fly

dataset.pix2deg()  # transform pixel coordinates to degrees of visual angle
dataset.pos2vel()  # transform positional data to velocity data

and extract events with different eye movements event extraction algorithms

dataset.detect('ivt')  # detect fixation using the I-VT algorithm
dataset.detect('microsaccades')  # detect saccades using the microsaccades algorithm

Check out our guide on how to install pymovements and get started here: Installation

We provide a range of tutorials aimed at beginners: Tutorials

The complete reference of the package can be found here: API Reference

Contributing

We welcome any sort of contribution to pymovements!

For a detailed guide, please refer to our CONTRIBUTING.md first.

If you have any questions, please open an issue or write to us at pymovements@python.org

Citing

If you are using pymovements in your research, we would be happy if you cite our work by using the following BibTex entry:

@inproceedings{pymovements,
    author = {Krakowczyk, Daniel G. and Reich, David R. and Chwastek, Jakob and Jakobi, Deborah N.
 and Prasse, Paul and Süss, Assunta and Turuta, Oleksii and Kasprowski, Paweł
 and Jäger, Lena A.},
    title = {pymovements: A Python Package for Processing Eye Movement Data},
    year = {2023},
    isbn = {979-8-4007-0150-4/23/05},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    url = {https://doi.org/10.1145/3588015.3590134},
    doi = {10.1145/3588015.3590134},
    booktitle = {2023 Symposium on Eye Tracking Research and Applications},
    location = {Tubingen, Germany},
    series = {ETRA '23},
}

There is also a preprint available on arxiv.

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

pymovements-0.26.0.tar.gz (186.8 kB view details)

Uploaded Source

Built Distribution

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

pymovements-0.26.0-py3-none-any.whl (352.5 kB view details)

Uploaded Python 3

File details

Details for the file pymovements-0.26.0.tar.gz.

File metadata

  • Download URL: pymovements-0.26.0.tar.gz
  • Upload date:
  • Size: 186.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymovements-0.26.0.tar.gz
Algorithm Hash digest
SHA256 78c58fd9f8bd1678c7afdf079a68094f3d9aec010f1a895487211d0c016ef032
MD5 8166c1049c40a7cbb2cc4ee131ab20b1
BLAKE2b-256 ab79be754a138d3bf75f50946daa4c11bf188131c3a666ffb63b3b3e6c7cb1e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymovements-0.26.0.tar.gz:

Publisher: publish.yml on pymovements/pymovements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymovements-0.26.0-py3-none-any.whl.

File metadata

  • Download URL: pymovements-0.26.0-py3-none-any.whl
  • Upload date:
  • Size: 352.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymovements-0.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe12897c06a8a5d13741b5a4908d67e15b13b9ba543bcdcb3467281d286431a0
MD5 c272046606badc837fcfff633decf936
BLAKE2b-256 5fd63b429a25b626e826cbc54daadcf25de02a387edb526b351c2d3e4f459318

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymovements-0.26.0-py3-none-any.whl:

Publisher: publish.yml on pymovements/pymovements

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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