<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think the .seg file should not be used (it is internal to the ASA software). <div>Only the .trg file should be used.</div><div>If you modify the .trg file though (move events), you need to remove the .seg file or ASA will use the .seg file to set the events in its graphic interface.</div><div>All based on memory so I could be wrong.<br><div><br></div><div>Arno</div><div><div><div><br></div><div>On 9 Jan 2013, at 23:33, Yuval Harpaz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div dir="ltr">by the way, did anyone decode the .seg file?<div>it has the beginning time of segments but it is in seconds since 1900 or so.</div><div>thanks, yuval<br><br><div class="gmail_quote">On 10 January 2013 09:08, Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@cerco.ups-tlse.fr" target="_blank">arno@cerco.ups-tlse.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Dave and Robert,<div><br></div><div>By the way, after much research, we figured out there was a bug for the 32 bit version of the software when importing events (scaling of time was in second instead of milliseconds)<div>
<div>The issue is that the Windows 32 bit version uses </div><div><br></div><div>read_eep_trg.dll</div><div><br></div><div>to read triggers and that the 64 bit version uses</div><div><br></div><div>read_eep_trg.m</div></div>
<div><br></div><div>(programmed by Robert)</div><div><div>now I would suggest to <b>delete read_eep_trg.dll</b>, which does not bring much speed anyway.</div></div><div>Just so you know,</div><div><br></div><div>Arno</div>
<div><div class="h5"><div><br><div><div>On 21 Dec 2012, at 23:22, Robert Oostenveld wrote:</div><br><blockquote type="cite"><div>Hi Dave,<br><br>Raquels reply pointed me to the (now fully open source) version of libeep. Previous versions of the libraries and mex files were hard to compile, but I have just given it another try and after a few attempts I ended up with<br>
<br>make distclean<br>./configure --enable-matlab --enable-shared=no<br>make<br><br>which compiled the mex files in a format that did not require the shared libraries. This is the best way for having them, because then you don't have to bother with the shared library path. I guess that this would also work on your 64-bit linux computer.<br>
<br>It would be nice to have the latest version of the mex files working out of the box again, so I will file this as bug (see <a href="http://bugzilla.fcdonders.nl/show_bug.cgi?id=1913" target="_blank">http://bugzilla.fcdonders.nl/show_bug.cgi?id=1913</a>). Getting it on all three common (win/linux/.osx) platforms and in 32 and 64 bit versions will take some time though.<br>
<br>best regards,<br>Robert<br><br><br>On 18 Dec 2012, at 20:18, Dave Britton wrote:<br><br><blockquote type="cite">Thanks, Arno,<br></blockquote><blockquote type="cite">I've installed the ant-eep import files into the EEGLAB plugin directory, but EEGLAB gives me the same error message as I got with FieldTrip:<br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">EEGLAB error in function loadeep() at line 75<br></blockquote><blockquote type="cite">Invalid MEX-file '/home/dave/eeglab11_0_4_3b/plugins/anteeimport1.08/read_eep_cnt.mexa64': libeep.so.3:cannot open shared object file:No such file or directory<br>
</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The libeep.so.3 file is copied into the same directory as the read_eep_cnt.mexa64 file.<br></blockquote><blockquote type="cite"><br></blockquote>
<blockquote type="cite">Do you have any suggestions?<br></blockquote><blockquote type="cite">-Dave<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">
On 12/18/2012 12:38 PM, Arnaud Delorme wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Dear Dave,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote>
<blockquote type="cite"><blockquote type="cite">last time I have checked FileIO (the Fieldtrip data importer) will not read ANT trigger files by default (it should read the raw data though - Robert Oostenveld one of the main developer of Fieldtrip was interning at ANT about 10 years ago and wrote the Matlab import function for them).<br>
</blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The anteepimport1.09 is a plugin for the EEGLAB software. It can import events (and then you can save the data in EEGLAB format and reload it in Fieldtrip). You cannot recompile the ANT project (their source files are proprietary and not included).<br>
</blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hope this helps.<br></blockquote></blockquote><blockquote type="cite">
<blockquote type="cite">Best wishes,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Arno<br></blockquote></blockquote>
<blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On 18 Dec 2012, at 08:59, Dave Britton wrote:<br></blockquote></blockquote><blockquote type="cite">
<blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I am trying to process EEG data in .cnt files obtained from the ANT system. I am using a Linux Xubuntu 12.04 amd64 operating system. I have installed the Linux 64 bit version of FieldTrip.<br>
</blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">
What is required to successfully process ANT eeg .cnt and .trg files? The libraries that came with the FieldTrip download did not work as it came from the download, and my investigations led me to what should be the latest version of the ANT import library. I have downloaded the latest ANT eep library, anteepimport1.09/libeep-3.3.167, and run config, make and make install, successfully, but MATLAB cannot find the shared object file it should generate, even when I link the .so.3 file into the same directory as the MATLAB m-file and the MATLAB current directory.<br>
</blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">
Initially the system was unable to read the cnt files, which is why I attempted to reinstall the anteepimort library. Is there more to this installation than the standard" configure, make, make install" process? Any clues would be appreciated!<br>
</blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">
Dave Britton<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">City College of New York<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">
<blockquote type="cite">Psychology Dept.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite">
<blockquote type="cite"><blockquote type="cite">Here is the error message I get:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote>
</blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cfg.headerfile = '/home/dave/semanticflanker/data/ANT/20121114_1013.cnt';<br></blockquote>
</blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cfg.hdr = ft_read_header(cfg.headerfile);<br></blockquote>
</blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Invalid MEX-file<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">
<blockquote type="cite">'/home/dave/fieldtrip-20121102/anteepimport1.09/libeep-3.3.167/mex/matlab/read_eep_cnt.mexa64':<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">
libeep.so.3: cannot open shared object file: No such file or directory<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote>
<blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Error in ft_read_header (line 627)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">
hdr = read_eep_cnt(filename, 1, 1);<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">
<blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">
fieldtrip mailing list<br>
</blockquote><blockquote type="cite"><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br></blockquote><blockquote type="cite"><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</blockquote><br><br>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</div></blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<div>Yuval</div><div><br></div><div><br></div><div><br></div><br>Dr .Harpaz<br><br><a href="http://faculty.biu.ac.il/~goldsa/index.html" target="_blank">BIU MEG lab</a><br></div>
</div></div>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></div></body></html>