An efficient EDF loader is provided that allow the user several options for accessing header and signal information stored in an EDF file.
User can select specific signals and specific 30 second epochs to return, which are used in sleep applications.
header = blockEdfLoad(edfFN)
[header, signalHeader] = blockEdfLoad(edfFN)
[header, signalHeader, signalCell] = blockEdfLoad(edfFN)
[header, signalHeader, signalCell] = blockEdfLoad(edfFN, signalLabels)
[header, signalHeader, signalCell] = blockEdfLoad(edfFN, signalLabels, epochs)
Thank you Dennis. Your code is very useful.
The program returns the selected sections(signals and 30 second epochs). The current version loads the entire file. It would be straight forward to load only the selected sections. Please email directly if you would like to discuss further.
Can I read with this function a samll part from a large EDF file, which can not be loaded entirely?
Use this version for quick access to the EDF contents.
Thanks Dennis, I will revise my code and will follow your implementation to make the GUI simpler.
Revision adds digital to physical conversion.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.