Converts polysomnographies to standardized edf via matlab structs.
sn_edfScan2edfData
: Converts and EDF and writes it as a new EDF with standardized signal labels and - as an option - referenced signalssn_edfScan2matScan
: Reads EDF to matlab structs and cellssn_matScan2matData
: Does the actual conversionsn_matData2edfData
: writes the data back to EDF
You need a recent Matlab installation and the Signal Processing Toolbox on your computer. The application is tested with R2015b.
Download the repo and add the directory sn_psgScan2edfData
to your matlab-path.
The basic function call is: [status,header,signalHeader,signalCell,newheader,newsignalHeader,newsignalCell] = sn_edfScan2edfData('data',PATH-TO-EDF-FILE)
Please check the documentation within the matlabfiles for further information.