-
Notifications
You must be signed in to change notification settings - Fork 4
Merge Fixations from I AOI Classifier
merge_fixations_iaoi R Documentation
Merge fixations classified by classify_iaoi
into a new, combined
fixation when they are on the same AOI and closer to each other than the
max time specified.
merge_fixations_iaoi(data, max_time = 75)
data
Data frame of the eye tracking data we want to process
max_time
Max time between fixations in ms
Input data frame columns
gazePoint_x
: X coordinates of the gaze point
gazePoint_y
: Y coordinates of the gaze point
gazePoint_z
: Z coordinates of the 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
This is a custom implementation for merging fixations on the same AOI with a gap smaller than the specified time between them.
The input data frame with the fixations merged