Skip to content

Merge Fixations from I VT Classifier

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

merge_fixations_ivt R Documentation


Merge Fixations from I-VT Classifier

Description

Merge fixations classified by classify_ivt into a new, combined fixation when they are closer to each other than the max time and max angle distance specified.

Usage

merge_fixations_ivt(data, max_time = 75, max_angle = 0.5)

Arguments


data Data frame of the eye tracking data we want to process max_time Max time between fixations in ms max_angle Max angle between fixations 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 an implementation of the merge fixation step as documented in the Tobii Pro I-VT fixation filter. It checks each gap between fixation if it is shorter than the specified max time between fixations and the angle between the fixations before and after the gap is smaller than specified. If this is the case the two fixations and the gap are merged together into a new, combined fixation.

The default values for max time and max angle are defined by Tobii to be 75 ms and 0.5 degrees.

Value

The input data frame with the fixations merged