<div dir="ltr"><div class="gmail_default" style="color:#333399">Hi Ingrid,</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">There's a few things you may want to try if you haven't had a chance to yet. Hope the suggestions below help.</div>

<div class="gmail_default" style="color:#333399">I've worked with egi files a bit and looking forward to hearing of your progress. As Makoto mentioned,</div><div class="gmail_default" style="color:#333399">there may also be a new head that is available.</div>

<div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">All the best</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">

<br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">

****************************</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">..I would try everything through the GUI, then use the eegh command  to figure out which commands to use in a script</div>

<div class="gmail_default" style="color:#333399">..I've usually only plotted ICA components using eeglab, but there should be no problem appropriating the function for activity of choice,</div><div class="gmail_default" style="color:#333399">

or regressing on non-eeg variables, or showing contrasts or regions with significant effects, all of which are published in the literature.</div><div class="gmail_default" style="color:#333399">the best bet might be to try to contact those authors (e.g. John Allen's or Micheal Cohen's labs)</div>

<div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">...it's important if you have loaded the eeg data properly into eeglab and that you can easily visualize it normally other ways.</div>

<div class="gmail_default" style="color:#333399">This would be indicative of eeglab being able to work with things. For example if you used eeglab to import a .raw export from </div><div class="gmail_default" style="color:#333399">

Netstation, that would mostly likely be different from what you have if you loaded in a Netstation mff format file with fieldtrip.</div><div class="gmail_default" style="color:#333399">I don't think eeglab reads in mff files specifically as of yet.</div>

<div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">....ake sure you use the right montage (128 or 129 hydrocel) file and read those locations in, using the GUI.</div>

<div class="gmail_default" style="color:#333399">The number depends on the whether or not the reference channel is in the EGI file that is being imported (usually .raw format)</div><div class="gmail_default" style="color:#333399">

The GUI should accept these and then close. </div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">At this point sometime it was necessary to use the optimize head center button as well to "spread out the electrodes" in eeglab.</div>

<div class="gmail_default" style="color:#333399">Then check the 2d and 3d views of the electrodes from the channel locations gui. See also the view channel locations.</div><div class="gmail_default" style="color:#333399">

<br></div><div class="gmail_default" style="color:#333399">If you have a .set EEGLAB file and components within it, then rom that point, you should be able to plot a 3d head (at first using the gui). Try using the suggested spline settings in the first case. try to get it working once this way if you haven't had a chance to.</div>

<div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div></div><div class="gmail_extra"><br clear="all">

<div>Tarik Bel-Bahar, Postdoctoral Fellow<br>Perception, Performance & Psychophysiology Lab<br><a href="http://tarik.777@duke.edu/" target="_blank">tarik.777@duke.edu/</a> 919 328 9573<br>Div. of Brain Stimulation and Neurophysiology<br>

Dep. of Psychiatry and Behavioral Sciences<br>Duke University Medical Center, Duke Clinics<br>Red Zone, 5th Floor, Rm. 54236<br>200 Trent Drive, Durham, NC 27710</div>
<br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 11:57 PM, Ingrid Nieuwenhuis <span dir="ltr"><<a href="mailto:ingrid.nieuwenhuis@gmail.com" target="_blank">ingrid.nieuwenhuis@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello everyone,<br><br></div>I am trying to make a beautiful 
3D topoplot on the head using headplot. I have 128 channel EGI data, 
GSN-HydroCel-128.sfp layout. When I plot the electrode positions they 
are not correct, see the picture here:<a href="https://www.dropbox.com/s/g4b1uvwlgof63cm/headplot_GSN-HydroCel-128.jpg" target="_blank">https://www.dropbox.com/s/g4b1uvwlgof63cm/headplot_GSN-HydroCel-128.jpg</a>. It looks as if the net is not 
pulled down enough: the electrodes that should be on the cheeks way 
under the eyes are located on the eye balls, and also the ear in the 
picture is not in the ear hole of the net. All the electrodes are too high up.<br>
<br></div><div>I've created the spline file with the option 'sfp' for 
'filetype' as I read that sfp data format is supported. I used the 
standard EGI electrode location file GSN-HydroCel-128.sfp, after 
removing the FidNz, FidT9, FidT10 place holders. Does any one know why 
this happens, and how I can fix it? <br>
<br>I'm new to EEGlab (normally use FieldTrip). I haven't used the GUI but used code:<br><br></div>% step 1 create spline file<br><div>elocs = readlocs('C:\Users\Ingrid\Documents\MATLAB\FieldTrip\template\electrode\GSN-HydroCel-128.sfp', 'filetype', 'sfp');<br>



splinefile = [cur_path_MLD, 'EEGLAB_splinefiles', filesep, 'EGI_128.spl'];<br>headplot('setup', elocs, splinefile);<br><br></div><div>% step 2 test the electrode locations<br></div><div>splinefile = [cur_path_MLD, 'EEGLAB_splinefiles', filesep, 'EGI_128.spl'];<br>



figure;<br>headplot(rand(128,1), splinefile) <br><br></div>Thanks a lot!<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Ingrid<br></font></span></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>