<div dir="ltr"><div><div><div><div><div><div><div>Dear all,<br><br></div>I have an .edf file, according to the header, I think the precise format is EDF+C, and my goal is to convert this file in SPM and see the data with annotations.<br><br></div>SPM is able to convert the file, although it does give a warning:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Warning: Skipping "EDF Annotations" as continuous data channel because of<br>inconsistent sampling frequency<br>> In fileio/private/read_edf at 235<br>  In ft_read_header at 616<br>  In spm_eeg_convert at 97<br>  In spm_eeg_convert at 92<br>  In spm_eeg_convert_ui at 26<br>  In spm at 1054<br></blockquote><br></div>I further noticed that the EDFBrowser application is able to read the data *and* show the annotations.<br><br></div>I could now try to figure out from the source what the EDFBrowser is doing exactly, and try to do something similar in the fieldtrip methods that read the edf. Not sure how far I'd get then. An additional complexity is that I do not have a full Matlab license, so I have the Matlab compiler and I have octave installed. (I'm not 100% sure but I think that means I cannot run Matlab code, but only pre-compiled code).<br><br></div>From the EDFBrowser I am able to export the events. But I don't know how to read that file together with the original file when I convert the edf file in SPM to get everything to show up right.<br><br></div>Would be great if anybody has some experience with this already, or somebody who just knows how to get me further,<br></div><div>Thanks,<br></div><div>Sjaak.<br></div></div>