readEdfHeader: Read EDF(+) or BDF(+) file header

Description Usage Arguments Value Details Acknowledgement See Also Examples

Description

The function reads the header of an EDF (European Data Format) file, an EDF+ file, an BDF file, or an BDF+ file

Usage

1
readEdfHeader(fileName)

Arguments

fileName

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

Value

an object of class ebdfHeader

Details

The object returned contains also an object of class ebdfSHeaders. Both objects ebdfHeader and ebdfSHeaders have supporting S3 print and summary functions.
For object details see the package vignette.

Acknowledgement

This package has used code from:

See Also

edfReader, readEdfSignals
For the vignette use the console command:
vignette('edfReaderVignette', package = "edfReader")
or click on Index below.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Examples from the vignette
libDir <- system.file ("extdata", package="edfReader")
# a continuous recording
CFile <- paste (libDir, '/edfPlusC.edf', sep='')
CHdr  <- readEdfHeader (CFile)
CHdr                   # print the header
summary (CHdr)         # print a header summary
str (CHdr)             # look to the details
CHdr$sHeaders          # print the signal headers
summary(CHdr$sHeaders) # print a signal headers summary
str(CHdr$sHeaders)     # look to the signal header details
# for a discontinuous recording
DFile <- paste (libDir, '/bdfPlusD.bdf', sep='')
# and proceed as above to read the header and to show the results

Pisca46/edfReader documentation built on May 8, 2019, 2:57 p.m.