<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><br>
<br>
On 2018-05-29 16:35, Kaare Mikkelsen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD+6jt4Wzm2zZv+YCHOCGFBzY1NrL_oBazdrKxxf12zPLZqvAQ@mail.gmail.com">
<pre wrap="">I'm trying to export the EEG struct to an edf file. However, it seems that
in writeeeg, any events get deleted if HDR.TYP is different from GDF? </pre>
</blockquote>
<br>
Dear Kaare, <br>
<br>
<br>
In GDF, most event typ numbers are predefined or reserved, the range
from 1-255 can be used for user defined event types. You can define
user-specified events for this range, including a "name" (string)
for these events. <br>
<br>
Here is the list: <br>
<a class="moz-txt-link-freetext" href="https://sourceforge.net/p/biosig/code/ci/master/tree/biosig4matlab/doc/eventcodes.txt">https://sourceforge.net/p/biosig/code/ci/master/tree/biosig4matlab/doc/eventcodes.txt</a><br>
<br>
If your use case, might be off interested to a wider audience, we
might consider standardizing the definition of your events as well.
<br>
<br>
<blockquote type="cite"
cite="mid:CAD+6jt4Wzm2zZv+YCHOCGFBzY1NrL_oBazdrKxxf12zPLZqvAQ@mail.gmail.com">
<pre wrap="">And
no matter what, event labels seem to be exchanged for numbers?</pre>
</blockquote>
<br>
If this does not work within EEGlab, I can take a look at this.
Please send me all information (example data set, eeglab version,
etc. ) in order to reproduce the problem, and I'll have look at
this, <br>
<br>
<br>
Cheers,<br>
Alois <br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CAD+6jt4Wzm2zZv+YCHOCGFBzY1NrL_oBazdrKxxf12zPLZqvAQ@mail.gmail.com">
<pre wrap="">
Does this mean that there is no way to export the EEG struct to edf while
retaining the events? Has anyone found a way to solve this?
--------------------------------------------------------------------
Kaare Mikkelsen, PhD Phys.
Department of Engineering
Aarhus University
--------------------------------------------------------------------
</pre>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Eeglablist page: <a class="moz-txt-link-freetext" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a>
To unsubscribe, send an empty email to <a class="moz-txt-link-abbreviated" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a>
For digest mode, send an email with the subject "set digest mime" to <a class="moz-txt-link-abbreviated" href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>