Package 'edf'

Title: Read Data from European Data Format (EDF and EDF+) Files
Description: Import physiologic data stored in the European Data Format (EDF and EDF+) into R. Both EDF and EDF+ files are supported. Discontinuous EDF+ files are not yet supported.
Authors: Andreas Henelius <[email protected]>
Maintainer: Andreas Henelius <[email protected]>
License: MIT + file LICENSE
Version: 1.0.0
Built: 2024-11-12 06:26:50 UTC
Source: https://github.com/bwrc/edf

Help Index


Read data stored in a European Data Format (EDF and EDF+) file.

Description

The edf package provides methods for reading files containing physiologic data stored in a European Data Format (EDF and EDF+) file and returns the data as a structured list.

References

Kemp B., Värri, A., Rosa, A.C., Nielsen, K.D. and Gade, J. (1992). A simple format for exchange of digitized polygraphic recordings. Electroencephalogr Clin Neurophysiol. 1992 May;82(5):391-3. http://www.ncbi.nlm.nih.gov/pubmed/1374708

Kemp, B. and Olivan, J. (2003). European data format 'plus' (EDF+), an EDF alike standard format for the exchange of physiological data. Clin Neurophysiol. 2003 Sep;114(9):1755-61. http://www.ncbi.nlm.nih.gov/pubmed/12948806


Read a European Data Format (EDF and EDF+) file.

Description

This function reads the data stored in an EDF or EDF+ file. This data consists of, e.g., physiologic signals and possibly also annotations (EDF+ files only).

Usage

read.edf(filename, read.annotations = TRUE, header.only = FALSE)

Arguments

filename

The full path to the EDF/EDF+ file to be read.

read.annotations

Boolean denoting whether or not annotations should be read, if they are present. Defaults is TRUE.

header.only

Boolean denoting whether to only read the headers in the EDF file. Default is FALSE. #' @return A list containing

  1. the global header (recording start date, duration etc).

  2. the signal headers (transducer types, sampling rates etc).

  3. the signal data

  4. the events (annotations). This is always NA for EDF files. This is NA for EDF+ files without annotations.

References

Kemp B., V\"arri, A., Rosa, A.C., Nielsen, K.D. and Gade, J. (1992). A simple format for exchange of digitized polygraphic recordings. Electroencephalogr Clin Neurophysiol. 1992 May;82(5):391-3. http://www.ncbi.nlm.nih.gov/pubmed/1374708

Kemp, B. and Olivan, J. (2003). European data format 'plus' (EDF+), an EDF alike standard format for the exchange of physiological data. Clin Neurophysiol. 2003 Sep;114(9):1755-61. http://www.ncbi.nlm.nih.gov/pubmed/12948806