[FieldTrip] processing ANT cnt files with FieldTrip
arno at cerco.ups-tlse.fr
Tue Dec 18 21:44:51 CET 2012
This is because ANT did not compile their program for your platform.
There is nothing you can do about (except maybe contact ANT so they compile it for your machine).
Import your data on a different machine. Then you can process it on your machine.
Arnaud Delorme, PhD
Centre de Recherche Cerveau et Cognition - UMR 5549
Pavillon Baudot, Hopital Purpan, BP 25202
31052 Toulouse Cedex, France
On 18 Dec 2012, at 11:18, Dave Britton wrote:
> Thanks, Arno,
> 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:
> EEGLAB error in function loadeep() at line 75
> 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
> The libeep.so.3 file is copied into the same directory as the read_eep_cnt.mexa64 file.
> Do you have any suggestions?
> On 12/18/2012 12:38 PM, Arnaud Delorme wrote:
>> Dear Dave,
>> 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).
>> 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).
>> Hope this helps.
>> Best wishes,
>> On 18 Dec 2012, at 08:59, Dave Britton wrote:
>>> 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.
>>> 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.
>>> 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!
>>> Dave Britton
>>> City College of New York
>>> Psychology Dept.
>>> Here is the error message I get:
>>>>> cfg.headerfile = '/home/dave/semanticflanker/data/ANT/20121114_1013.cnt';
>>>>> cfg.hdr = ft_read_header(cfg.headerfile);
>>> Invalid MEX-file
>>> libeep.so.3: cannot open shared object file: No such file or directory
>>> Error in ft_read_header (line 627)
>>> hdr = read_eep_cnt(filename, 1, 1);
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
More information about the fieldtrip