read_edf_file: Internal function that reads EDF file

View source: R/RcppExports.R

read_edf_fileR Documentation

Internal function that reads EDF file

Description

Reads EDF file into a list that contains events, samples, and recordings. DO NOT call this function directly. Instead, use read_edf function that implements parameter checks and additional postprocessing.

Usage

read_edf_file(
  filename,
  consistency,
  import_events,
  import_recordings,
  import_samples,
  sample_attr_flag,
  start_marker_string,
  end_marker_string,
  verbose
)

Arguments

filename

full name of the EDF file

consistency

consistency check control (for the time stamps of the start and end events, etc). 0, no consistency check. 1, check consistency and report. 2, check consistency and fix.

import_events

load/skip loading events.

import_recordings

load/skip loading recordings.

import_samples

load/skip loading of samples.

sample_attr_flag

boolean vector that indicates which sample fields are to be stored

start_marker_string

event that marks trial start. Defaults to "TRIALID", if empty.

end_marker_string

event that marks trial end

verbose

whether to show progressbar and report number of trials

Value

contents of the EDF file. Please see read_edf for details.


eyelinkReader documentation built on April 4, 2025, 1:30 a.m.