<div dir="ltr">Dear all,<div><br></div><div>Thanks for the suggestions. For Jörn, I checked the Fieldtrip/template/layout, but none of them fits my data. I tried the suggestion from Herring, however, I keep getting an error message:</div>
<div><div>Error using ft_convert_units (line 121)</div><div>cannot determine geometrical units</div><div><br></div><div>Error in ft_datatype_sens (line 189)</div><div> sens = ft_convert_units(sens);</div><div><br></div>
<div>Error in ft_read_sens (line 331)</div><div>sens = ft_datatype_sens(sens);</div></div><div><br></div><div> I had my data in a text format previously, and it didn't work either. So I'm not sure what to do!<br></div>
<div><br></div><div>I've attached my file in this email, the values are gotten from the pdf info from Easycap regarding the theta/phi coordinates for each site.</div><div><br></div><div>Thanks!</div><div><br></div><div>
Cheers,</div><div>Hweeling</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 January 2014 16:00, Herring, J.D. (Jim) <span dir="ltr"><<a href="mailto:j.herring@fcdonders.ru.nl" target="_blank">j.herring@fcdonders.ru.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Hweeling,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you create a text-file that has three columns: Label, Theta, and Phi coordinate, you can use elec = ft_read_sens(filename) to read the layout into a fieldtrip useable elec structure.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><br>The first line of the text file has to be:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Site Theta Phi<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You can also have a look at easycap-M1.txt and easycap-M10.txt in the fieldtrip/template/electrode folder for an example of how the text-file should look like.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The theta and phi coordinates will be converted to 3d coordinates assuming a head-radius of 85mm (by default, you can specify this)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Jim<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>] <b>On Behalf Of </b>Hwee Ling Lee<br>
<b>Sent:</b> woensdag 22 januari 2014 15:42<br><b>To:</b> FieldTrip discussion list<br><b>Subject:</b> [FieldTrip] BrainProducts Easycap layout<u></u><u></u></span></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p>
<div><div><div><p class="MsoNormal">Dear all,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I would like to know if anyone has the layout for 128 EEG channels for BrainProduct easycap.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I have the information of the theta/phi coordinates for each of the channels, but I'm not sure how to use these values to create the layout in fieldtrip.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">It'll be great if someone can help me on this!<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
Thanks.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best regards,<u></u><u></u></p></div><div><p class="MsoNormal">Hweeling<u></u><u></u></p></div><div><p class="MsoNormal">
<u></u> <u></u></p></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">=================================================<br>Dr. rer. nat. Lee, Hwee Ling<br>
Postdoc<br>German Center for Neurodegenerative Diseases (DZNE) Bonn<br><br>Email 1: hwee-ling.lee<at><a href="http://dzne.de" target="_blank">dzne.de</a><br>Email 2: hweeling.lee<at><a href="http://gmail.com" target="_blank">gmail.com</a><div>
<br></div><div><a href="https://sites.google.com/site/hweelinglee/home" target="_blank">https://sites.google.com/site/hweelinglee/home</a><br><br>Correspondence Address:<br>Ernst-Robert-Curtius Strasse 12, 53117, Bonn, Germany<br>
=================================================<br></div></div>
</div>