Skip to content

Merge Fixations from I DT Classifier

Sebastian Kapp edited this page Feb 25, 2021 · 1 revision

merge_fixations_idt R Documentation


Merge Fixations from I-DT Classifier

Description

Merge fixations classified by classify_idt into a new, combined fixation when they are closer to each other than the max time and the max dispersion specified is not exceeded.

Usage

merge_fixations_idt(data, max_time = 75, dispersion_threshold = 1.6)

Arguments


data Data frame of the eye tracking data we want to process max_time Max time between fixations in ms dispersion_threshold Dispersion threshold for the combined fixation in degrees


Format

Input data frame columns

gazeorigin_x

: X coordinates of the gaze origin

gazeorigin_y

: Y coordinates of the gaze origin

gazeorigin_z

: Z coordinates of the gaze origin

gazePoint_x

: X coordinates of the gaze point

gazePoint_y

: Y coordinates of the gaze point

gazePoint_z

: Z coordinates of the gaze point

classification

: Classification of this gaze point

eventIndex

: Index of the event in which the gaze point lies

eventType

: Type of the current event

eventDuration

: Duration of the current event

fixation_x

: X coordinate of the current fixation

fixation_y

: Y coordinate of the current fixation

fixation_z

: Z coordinate of the current fixation

Details

This is a custom implementation for merging fixations on the same AOI with a gap smaller than the specified time between them. It is intended to be used together with the I-DT algorithm described by Llanes-Jurado et al. (2020, doi:10.3390/s20174956) and as implemented in classify_idt.

Value

The input data frame with the fixations merged