Data Analysis for the Eye tracking precision experiment using webcam
More info on our bioRxiv: Web-based eye-tracking for remote cognitive assessments: The anti-saccade task as a case study
Requirements: Python 3.10+ with pyxations, pandas, numpy, scipy, seaborn, statsmodels, pyarrow.
Run precision_experiment/ notebooks. Raw data is loaded from the BIDS structure built by pyxations.
From antisaccade_experiment/, run antisaccades_pyxations_blocked.ipynb end-to-end. The notebook:
- Builds the BIDS dataset from
raw_data/and computes derivatives. - Preprocesses each subject per block (interpolation to 30 Hz, baseline subtraction, min-max normalization, mirroring, rejection of trials with
|x| > 1.5). - Aggregates error rates and RTs across subjects, both for all blocks (panels B, C) and for the first half excluding block 1 (panels D, E).
- Picks a representative subject and plots the pixel, degrees, and normalized views (panel A).
- Saves the composite figure to
result_plots/figure3.pngand prints the Wilcoxon rank-sum tests reported in the paper.