normalize_gaze_coords {eyeris}R Documentation

Normalize gaze coordinates to screen-relative units

Description

Transforms raw gaze coordinates (in pixels) to normalized coordinates where:

Usage

normalize_gaze_coords(pupil_df, screen_width, screen_height)

Arguments

pupil_df

A data frame containing raw gaze coordinates (eye_x, eye_y)

screen_width

The screen width in pixels

screen_height

The screen height in pixels

Value

A data frame with added columns:


[Package eyeris version 2.1.0 Index]