Back to the main page.

Bug 1785 - implement support in ft_read_sens for the waveguard electrode file format

Status CLOSED INVALID
Reported 2012-10-18 08:44:00 +0200
Modified 2012-10-29 13:44:59 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2012-10-18 08:44:15 +0200

The file format for the waveguard cap used in the HCP is slightly different from previous ANT *.elc file formats, hence the reading functinos have to be updated.


Robert Oostenveld - 2012-10-18 08:50:21 +0200

@Abbas, can you please confirm that this file was written with software from ANT? It looks so, but is quite different from previous versions of the *.elc file format. -------------- ;EEG Channel Configuration ;Ant-Neuro Waveguard EEG cap NumberOfChannels=64 ReferenceChannel=Cz UnitPosition=mm ;(x,y,z) positions of EEG channels are in MNI coordinate ;Each entry: E=,x position,y position,z position ;Fields are delimited by commas, some fields might be omited (empty). E1=CP6,84.1409,-53.1682,14.4935 E2=Fpz,0.5966,85.4186,5.2724 E3=F7,-70.6916,41.8958,-10.8395 E4=Fz,2.3304,47.9355,75.787 E5=F8,73.3302,42.0529,-16.9723 E6=FC1,-32.0939,14.4686,86.4236 E7=FC6,80.6141,13.3845,18.9204 E8=T7,-85.0072,-16.3778,-18.4196 E9=P3,-52.4644,-86.8018,41.7174 </p>

Robert Oostenveld - 2012-10-18 08:54:42 +0200

I have added a test script mbp> svn commit test_bug1785.m Adding test_bug1785.m Transmitting file data . Committed revision 6769. The test case for the new file is still commented out, as it fails.


Robert Oostenveld - 2012-10-18 08:56:36 +0200

remove trailing '=' when parsing *.elc files. mbp> svn commit private/ Sending private/read_asa.m Sending private/read_asa_elc.m Transmitting file data .. Committed revision 6770.


Robert Oostenveld - 2012-10-20 07:58:20 +0200

On 18 Oct 2012, at 17:14, Abbas Babajani-Feremi wrote: Hi Robert, I did not use the ANT software to generate the "EEG_Configuration_CP10040_Pilot13_Aug01_2012.txt" file and I create this file using my MATLAB/Excel codes. As you know, the *.elc format does not contain any additional comments, for example specifying the Reference channel, thus, I did not use this format. The EEG config file is based on *.vhdr format of BrainVision but I did not use exactly same format. Best, Abbas


Robert Oostenveld - 2012-10-20 08:00:39 +0200

(In reply to comment #4) Then the bug is not valid and nothing needs to be fixed. mbp> svn commit test_bug1785.m Sending test_bug1785.m Transmitting file data . Committed revision 6775.


Robert Oostenveld - 2012-10-29 13:44:59 +0100

changed the status of several bugs that were RESOLVED some time ago to CLOSED