ep.eye_meta_check: Check ep.eye metadata

ep.eye_meta_checkR Documentation

Check ep.eye metadata

Description

When loaded into the environment, an .edf file will be parsed with fields corresponding to $raw, $sacc, $fix, and $blink. Saccades, fixations, and blinks are called "gaze events" in the ep.eye nomenclature and denote the presence of an event of significance within gaze data. This function unifies raw data with gaze events by generating unique gaze event numbers, merges them to raw data and validates that timestamps from raw and gaze event fields are in correspondence.

Usage

ep.eye_meta_check(ep.eye, meta_vars, meta_vals, recording_time, dt = NULL)

Arguments

ep.eye

An initialized ep.eye object.

meta_vars

Character vector of meta variables to check

meta_vals

Character vector of values to expect for the meta variables passed above

recording_time

Numeric vector of length 2 indicating the expected time of the recording session *in seconds* and the margin of error above and below the expected recording time without generating an error.

dt

descriptive text to print to log file, defaults to NULL.

Value

ep.eye

Author(s)

Nate Hall


PennStateDEPENdLab/experiment.pipeline documentation built on April 14, 2024, 9:37 p.m.