import_raw: Function for reading raw data.

Description Usage Arguments Author(s)

View source: R/file_io.R

Description

Currently BDF/EDF, 32-bit .CNT, and Brain Vision Analyzer files are supported. Filetype is determined by the file extension.The edfReader package is used to load BDF/EDF files, whereas custom code is used for .CNT and BVA files. The function creates an eeg_data structure for subsequent use.

Usage

1
2
3
4
5
6
7
8
import_raw(
  file_name,
  file_path = NULL,
  chan_nos = NULL,
  recording = NULL,
  participant_id = character(1),
  fast_bdf = TRUE
)

Arguments

file_name

File to import. Should include file extension.

file_path

Path to file name, if not included in filename.

chan_nos

Channels to import. All channels are included by default.

recording

Name of the recording. By default, the filename will be used.

participant_id

Identifier for the participant.

fast_bdf

New, faster method for loading BDF files. Experimental.

Author(s)

Matt Craddock, matt@mattcraddock.com


kusumikakd/EEG documentation built on June 28, 2020, 12:30 a.m.