blockEDFLoadClass
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
Cite As
Dennis A. Dean, II, Ph.D. (2024). blockEDFLoadClass (https://www.mathworks.com/matlabcentral/fileexchange/45227-blockedfloadclass), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: DIRR (find files recursively filtering name, date or bytes), edfRead, Read / Write EDF+-Files, Reading and saving of data in the EDF+, Matlab to EDF Conversion
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.