File Exchange

image thumbnail

blockEDFLoadClass

Class based EDF access and check

1 Download

Updated 23 Apr 2014

View License

Class version of blockEdfLoad submission. Dependent variables are added it provide quick access to EDF header contents. The class includes an EDF checker and support for creating EDF lists.
Public Methods:
Constructor:
obj = BlockEdfLoadClass(edfFN)
obj = BlockEdfLoadClass(edfFN, signalLabels)
obj = BlockEdfLoadClass(edfFN, signalLabels, epochs)
Load Prototypes (set load properties first)
obj = obj.blockEdfLoad
Default entire file, return class
obj = obj.blockEdfLoad (outArgClass)
Select between class or structured return
obj = obj.blockEdfLoad (outArgClass, numCompToLoad)
Summary Functions
obj.PrintEdfHeader
Write header contents to console
obj.WriteEdfHeader
Write header to file defined in private properties
obj.PrintEdfSignalHeader
Write signal header information to console
obj.WriteEdfSignalHeader
Write signal header to file defined in private
properties
obj.PlotEdfSignalStart
Create plot of initial signal for the intial duration
defined in the public properties (Default: 30
seconds)
obj.CheckEdf
Check EDF header and signal header
obj.DispCheck
Display results of check to console
obj.WriteCheck
Write results of check to file

Additional information can be found:
https://github.com/DennisDean/BlockEdfLoadClass
http://sleep.partners.org/edf/
https://sleepdata.org/tools

Comments and Ratings (1)

The class version takes a little getting use; but provides more functionality than the functions form (BlockEdfLoad).

Updates

1.1.0.0

This release includes the class version. Please feel free to extend on my GITHUB account.

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux