eye-tracking-analysis

Convert raw eye-tracking gaze streams into fixation events, AOI metrics, and scanpath similarity.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill eye-tracking-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eye-tracking-analysis
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/11-psychology/eye-tracking-analysis
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill eye-tracking-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, matplotlib, sklearn, shapely.

What problem does it solve?

This Skill helps researchers transform noisy eye-tracking recordings into interpretable visual-attention measures such as fixations, AOI dwell, scanpath similarity, heatmaps, and event-locked pupillometry.

Core Features & Use Cases

  • Blink removal + interpolation + baseline correction for cleaner pupillometry signals
  • IVT fixation detection to convert gaze samples into fixation events
  • AOI assignment + per-AOI metrics (first latency, dwell time, fixation counts, proportion dwell) plus scanpath similarity
  • Fixation heatmap generation using Gaussian KDE for visual attention mapping

Quick Start

Provide your gaze dataset with timestamps, x/y gaze coordinates, and pupil diameter, then ask an AI to run blink interpolation, detect IVT fixations, assign AOIs, compute dwell and scanpath similarity, and produce a fixation heatmap and event-locked baseline-corrected pupillometry output.

Frequently Asked Questions about eye-tracking-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert raw eye-tracking gaze data into fixations and AOI metrics?

You can convert raw eye-tracking gaze data into fixations and AOI metrics by applying I-VT velocity-based fixation segmentation and AOI assignment to calculate first latency, dwell time, and fixation counts from your timestamped gaze coordinates.

What is the best way to calculate scanpath similarity and generate fixation heatmaps?

The best way to calculate scanpath similarity and generate fixation heatmaps is to use Levenshtein distance for scanpath comparison and Gaussian KDE for visual attention mapping, producing visualization-ready outputs from raw gaze streams.

How does blink detection and interpolation work for pupillometry baseline correction?

Blink detection and interpolation for pupillometry baseline correction works by identifying missing data points in pupil diameter streams, interpolating the gaps, and applying event-window baseline correction to quantify event-locked pupil responses.

Can I use Python and pandas for experimental psychology visual attention analysis?

Yes, you can use Python and pandas for experimental psychology visual attention analysis because this Skill relies on numeric Python dependencies like pandas, numpy, and scipy to preprocess gaze streams and compute human-factors workflow metrics.

What data format do I need for eye-tracking fixation detection and dwell time computation?

For eye-tracking fixation detection and dwell time computation, you need a gaze dataset containing timestamps, x/y gaze coordinates, and pupil diameter to successfully run blink interpolation and I-VT fixation segmentation.