pyeyesim

Eye movement analysis and visualization package, with a focus on fixation map and scanpath similarity


Install
pip install pyeyesim==0.3.1

Documentation

PyEyeSim

this is a Python library for eye-movement analysis, visualization and comparison, with a focus on scanpath comparison.

The ultimate goal of the library is to make advanced fixation map statistics (eg: entropy) and scanpath comparison accesible (hidden markov model based, and saccade direction based).

The library also provides general descripitve statistics about eye-movements. It is intended to work with ordered fixation data. (a row for each fixation), that is loaded into a pandas dataframe.

Additionaly, easy visualizations about the statistics (overall stats, stimulus based stats, within trial progrression) and heatmaps are also provided.

three main scanpath similarity functionalities:

  1. Within group similarity (for a single group of observers in a single condition)
  2. Between condition similarity (for single group of observers, observing the same stimuli in two conditions)
  3. Between group similarity (for two groups of observers observing the same stimuli)

The library started to develop for use in art perception studies, therefore, there is an emphasis on stimulus based eye-movement comparison.

Installation:

in the terminal/anaconda prompt

pip install pyeyesim

OR

if you cloned the library and are in the root folder of the library using the terminal (mac) or anaconda prompt (windows), you can install it, using the command: " pip install -e . "

Demo:

for examples of using the library, see the PyEyeDemoBasic.ipynb in the Notebooks folder

Dependencies:

NumPy Pandas SciPy Matplotlib

for full funcionality

scikit-image hmmlearn xarray

on pip

https://pypi.org/project/pyeyesim/