EDFbrowser is an open source EDF Browser. EDF/EDF+ is an open file format for biomedical time series, especially EEG and ECG/EKG signal.
But, the pain is, new (version 1.08 or later) EDFbrowswer "disabled the possibility to open discontinuous files."
I consulted the author, Teunis van Beelen, and got a solution from him.
- Open the file mainwindow.cpp in a texteditor.
- Comment the lines 1293 to 1310. Put
/*
and*/
at the beginning and end of following codeif(edfhdr->discontinuous)
Now compile the source code by executing
{
if(edfhdr->edf)
{
UI_Messagewindow popuperror("Error", "EDFbrowser can not show EDF+D (discontinuous) files.\n"
"Convert this file to EDF+C first. You can find this converter\n"
"in the Tools menu (EDF+D to EDF+C converter).");
}
if(edfhdr->bdf)
{
UI_Messagewindow popuperror("Error", "EDFbrowser can not show BDF+D (discontinuous) files.\n"
"Convert this file to BDF+C first. You can find this converter\n"
"in the Tools menu (EDF+D to EDF+C converter).");
}
free(edfhdr->edfparam);
free(edfhdr);
fclose(newfile);
return;
}qmake && make
and you are done.
No comments:
Post a Comment