get_confounds_for_step {eyeris}R Documentation

Calculate confounds for a single pupil data step

Description

Computes various metrics from pupil data including:

Usage

get_confounds_for_step(pupil_df, pupil_vec, screen_width, screen_height, hz)

Arguments

pupil_df

A data frame containing pupil data

pupil_vec

A vector of pupil data for the current step

screen_width

The screen width in pixels

screen_height

The screen height in pixels

hz

The sampling rate in Hz

Value

A data frame containing confounds metrics for the current step


[Package eyeris version 2.1.0 Index]