-
Notifications
You must be signed in to change notification settings - Fork 4
Discard Short Fixations
discard_short_fixations R Documentation
Discard fixations which have a duration shorter than the specified minimum duration.
discard_short_fixations(data, min_duration = 60, reclassify_saccade = FALSE)
data
Data frame of the eye tracking data we want to process
min_duration
Minimum duration of a fixation
reclassify_saccade
Reclassify discarded fixations as saccade instead of a gap
Input data frame columns
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 function removes all fixations which are shorter than the specified
minimum duration and reclassifies them as gaps. If reclassify_saccade
is specified they are classified as saccade instead of a gap. This post
processing is only necessary after the I-VT filter as both I-DT as well
as I-AOI inherently include a minimum fixation duration.
The input data frame with the fixation classifications which are too short discarded