<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(102,102,102)">
Dear Fieldtrippers, <br>
<br>
I have a problem while reading EEG (EGI) electrode location file to FieldTrip.<br>
I am using EGI Amp 300, 64-channel cap, data were exported to .raw files.<br>
<br>
When I read locations to EEGLAB, it works well  (<a href="https://www.dropbox.com/sh/aq4purahda5iq1x/AAABpAqJJTYAXcMgW4FsBDzWa?dl=0" target="_blank">lilnk to pictures</a> || see pic. eeglab_chanlocs.jpg). The layout corresponds with the actual electrode placement
 in the cap.<br>
When I read the same file into FieldTrip, the electrodes seem to have similar layout (see pic. fieldtrip_chanlocs.jpg).
<br>
However, it seems like the electrodes are confined within the plot too much. Electrodes E61:E64 should be outside of boundaries of the layout plot.<br>
<br>
I was wondering whether anybody else had similar issue and did overcome it? Could anybody suggest what is wrong and how can I read the locations properly?<br>
Any support will be appreciated.<br>
<br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(102,102,102)">
I am using Matlab 2015, eeglab eeglab13_4_4b and the latest version of fieldtrip.<br>
</div>
<br>
***************************************<br>
<div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(102,102,102)">
<br>
<br>
Here is code I used to read these locations:<br>
<br>
cfg.layout      = 'C:\Users\annwie\Documents\awt_chanlocs\GSN-HydroCel_64.sfp'; <br>
cfg.feedback    = 'yes';<br>
layout          = ft_prepare_layout(cfg);<br>
<br>
<br>
Here is the code that I used to preprocess my data in Fieldtrip:<br>
<br>
cfg = [];<br>
cfg.trialfun = 'ft_trialfun_general';<br>
cfg.dataset = '136.set';<br>
cfg.trialdef.eventtype  = 'trigger';<br>
cfg.trialdef.eventvalue = 'DIN8'<br>
cfg.trialdef.prestim    = 0.5;<br>
cfg.trialdef.poststim   = 2.5;<br>
cfg = ft_definetrial(cfg);<br>
<br>
cfg.lpfilter = 'no';<br>
cfg.hpfilter = 'yes';<br>
cfg.hpfreq = 0.3;<br>
data = ft_preprocessing(cfg);<br>
<br>
<div><span style="font-size:small;color:rgb(136,136,136)"><font face="tahoma, sans-serif">Anna Wieczorek-Taraday.</font></span></div>
<div><font face="tahoma, sans-serif"><br>
</font></div>
<div><font face="tahoma, sans-serif"><span style="color:rgb(136,136,136)"><font size="1">PhD Student   </font></span><br>
</font></div>
<div><span><font size="1" face="tahoma, sans-serif"><span style="color:rgb(80,0,80)"><span style="color:rgb(136,136,136)">Nencki Institute of Experimental Biology</span><br style="color:rgb(136,136,136)">
</span><span style="color:rgb(136,136,136)">Pasteur Street 3, 02-093 Warsaw, Poland</span><br style="color:rgb(136,136,136)">
</font></span></div>
<div><font size="1" face="tahoma, sans-serif"><br>
</font></div>
<span style="color:rgb(68,68,68)"><span style="color:rgb(136,136,136)"><font size="1" face="tahoma, sans-serif">Warsaw University of Social Sciences and Humanities<br>
Chodakowska Street 19/31, 03-815 Warsaw, Poland</font></span></span><br>
</div>
</div>
</body>
</html>