read_edf: Read an edf/edf+/bdf file into R

View source: R/read.R

read_edfR Documentation

Read an edf/edf+/bdf file into R

Description

Creates an eeg_lst object from edf, edf+, and bdf file export formats.

Usage

read_edf(file, .recording = file)

Arguments

file

A edf/bdf file

.recording

Recording name (file name, by default). If set to NULL or NA, the patient name will be used.

Details

When trigger information is stored in a "Status" or "Trigger" channel, the trigger value is stored only when the value of the channel increases. This follows the default behavior of find_events in MNE 0.18. If you have a case where this assumption is incorrect, please open an issue in https://github.com/bnicenboim/eeguana/issues.

Value

An eeg_lst object.

See Also

Other reading and writing functions: read_fif(), read_ft(), read_set(), read_vhdr()

Examples

## Not run: 
s1 <- read_edf("./faces.edf", .recording = 1)

## End(Not run)


bnicenboim/eeguana documentation built on March 16, 2024, 7:21 a.m.