Skip to content

Classify Fixations by AOI

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

classify_iaoi R Documentation


Classify Fixations by AOI

Description

Classify each gaze point based on whether it hits an AOI and a minimum fixation duration

Usage

classify_iaoi(data, min_fixation_duration = 100)

Arguments


data Data frame of the eye tracking data we want to process min_fixation_duration Minimal fixation duration


Format

Input data frame columns

eyeDataRelativeTimestamp

: Timestamp of the data

gazePoint_x

: X coordinates of the gaze point

gazePoint_y

: Y coordinates of the gaze point

gazePoint_z

: Z coordinates of the gaze point

gazePointAOI_name

: Name of the AOI which was hit

Additional columns in output

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 (if eventType is a fixation)

fixation_y

: Y coordinate of the current fixation (if eventType is a fixation)

fixation_z

: Z coordinate of the current fixation (if eventType is a fixation)

Details

This is a custom implementation of an fixation identification by area of interest. It first classifies all gaze points which hit an AOI as fixation and all other gaze points as saccades. Then it groups consecutive gaze points on the same AOI as fixation when the total duration of gaze points exceed the minimum fixation duration. If the minimum fixation duration isn't exceeded, the gaze points are reclassified as saccades.

Value

The input data frame with the classification columns added