<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>A very strange thing...</span></div><div><br><span></span></div><div><span>I tested the other layout, like 'CTF275.lay' using 'ft_layoutplot', it works. However, '4D248.lay' dosen't work on 'ft_layoutplot' with the same error message as before:</span></div><div>Error using dataread<br>Trouble reading floating point number from file (row 1, field 1) ==> <!DOCTYPE html>\n</div><div>....</div><div><br></div><div>Even I rename '<span>CTF275.lay</span>' to '<span>4D248.lay</span>', it comes the same error message.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks,</div><div>Duo<br></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font
size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> alotof eve <alotof_xd@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Email discussion list for the FieldTrip project <fieldtrip@donders.ru.nl> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, January 31, 2012 10:40 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [FieldTrip] Where can I get 4D layout for MEG result?<br> </font> </div> <br>
<div id="yiv1984975470"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>Dear Robert,</span></div><div><br><span></span></div><div><span>Thank you so much for the suggestion. I compared the file but couldn't get idea yet. The format of 4D248.lay which I am using is like follows:</span></div><div><br><span></span></div><div><span>1 0.23057 -0.26062 3 2.25 A1<br>2 0.23057 3.8119 3 2.25 A2<br>3 0.064345 8.2238 3 2.25 A3<br>4 0.064345 11.957 3 2.25 A4<br>5 -0.10188 16.0295 3 2.25 A5<br>6 -3.7588 16.0295 3 2.25 A6<br>7 -4.0913 11.957 3 2.25 A7<br>8 -4.2575 8.2238 3 2.25 A8<br>9 -4.0913 4.1513 3 2.25 A9<br>10 -4.2575 -0.09093 3 2.25 A10<br>....</span></div><div><br><span></span></div><div><span>Any more suggestions?</span></div><div><br><span></span></div><div><span>Thanks,</span></div><div><span>Duo</span></div><div><br></div> <div style="font-family:times new roman, new york,
times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Robert Oostenveld <r.oostenveld@donders.ru.nl><br> <b><span style="font-weight:bold;">To:</span></b> Email discussion list for the FieldTrip project <fieldtrip@donders.ru.nl> <br> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, January 31, 2012 6:41 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [FieldTrip] Where can I get 4D layout for MEG result?<br> </font> </div> <br>
<div id="yiv1984975470"><div>Dear Duo<div><br></div><div>The error suggests that the layout file is corrupt, DOCTYPE is not a string that should be present in the file. Please open it in a text editor and compare it with the format here http://fieldtrip.fcdonders.nl/faq/what_is_the_format_of_the_layout_file_which_is_used_for_plotting</div><div><br></div><div>best</div><div>Robert </div><div><br><div><div>On 30 Jan 2012, at 7:44, alotof eve wrote:</div><br class="yiv1984975470Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font size="2" face="Arial"> ----- Forwarded Message -----<br> <b><span style="font-weight:bold;">From:</span></b> alotof eve <<a
rel="nofollow" ymailto="mailto:alotof_xd@yahoo.com" target="_blank" href="mailto:alotof_xd@yahoo.com">alotof_xd@yahoo.com</a>><br> <b><span style="font-weight:bold;">To:</span></b> "Rojas, Don" <<a rel="nofollow" ymailto="mailto:Don.Rojas@ucdenver.edu" target="_blank" href="mailto:Don.Rojas@ucdenver.edu">Don.Rojas@ucdenver.edu</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 29, 2012 10:12 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [FieldTrip] Where can I get 4D layout for MEG result?<br> </font> </div> <br>
<div id="yiv1984975470"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:times, serif;font-size:12pt;"><div><span>Thank Don. In fact I asked the question because I met problem when I using the layout that I thought it's something wrong.</span></div><div><br><span></span></div><div><span>I am doing ica and using: ft_topoplotIC(cfg,comp), then got the error message:</span></div><div><span><br></span></div><div>reading layout from file 4D248.lay<br>Error using dataread<br>Trouble reading floating point number from file (row 1, field 1) ==> <!DOCTYPE html>\n<br><br>Error in textread (line 176)<br>[varargout{1:nlhs}]=dataread('file',varargin{:});<br><br>Error in ft_prepare_layout>readlay (line 670)<br>[chNum,X,Y,Width,Height,Lbl,Rem] = textread(filename,'%f<br>%f %f %f %f %q %q');<br><br>Error in ft_prepare_layout (line 222)<br> lay = readlay(cfg.layout);<br><br>Error in ft_topoplotER (line 433)<br>lay =
ft_prepare_layout(cfg, data);<br><br>Error in ft_topoplotIC (line 116)<br> ft_topoplotER(cfg, varargin{:});</div><div><br></div><div>Can anyone help me on this?</div><div><br></div><div>Thanks,</div><div>Duo<br></div> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> "Rojas, Don" <<a rel="nofollow" ymailto="mailto:Don.Rojas@ucdenver.edu" target="_blank" href="mailto:Don.Rojas@ucdenver.edu">Don.Rojas@ucdenver.edu</a>><br> <b><span style="font-weight:bold;">To:</span></b> alotof eve <<a rel="nofollow" ymailto="mailto:alotof_xd@yahoo.com" target="_blank" href="mailto:alotof_xd@yahoo.com">alotof_xd@yahoo.com</a>>; Email discussion list for the FieldTrip project <<a rel="nofollow"
ymailto="mailto:fieldtrip@donders.ru.nl" target="_blank" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 29, 2012 7:36 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [FieldTrip] Where can I get 4D layout for MEG result?<br> </font> </div>
<br>
<div id="yiv1984975470"><div>It is in your fieldtrip distribution, in the template/layout/ subdirectory. But you can just use it with any function that takes a layout by specifying:<div><br></div><div>cfg.layout = '4D248.lay'</div><div><br><div><div>On Jan 29, 2012, at 12:52 AM, alotof eve wrote:</div><br class="yiv1984975470Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Hi, everyone,</div><div><br></div><div>Out MEG is 4D and I checked that we should use 4D248.lay but I cannot find this file. Can anyone tell me where I can download such a file? <br></div><div><br></div><div>Thanks</div><div>Duo</div></div></div>_______________________________________________<br>fieldtrip mailing list<br><a rel="nofollow" ymailto="mailto:fieldtrip@donders.ru.nl" target="_blank"
href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br><div>
<span class="yiv1984975470Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="yiv1984975470Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="word-wrap:break-word;">-----------------------<br>Don Rojas, Ph.D.<br>Associate Professor of Psychiatry<br>U. of Colorado Denver Anschutz Medical Campus<br>Director, UCD Magnetoencephalography Lab<br>13001 E. 17th Pl F546<br>Aurora, CO 80045<br>303-724-4994</div></span></span>
</div>
<br></div></div></div><br><br> </div> </div> </div></div></div><br><br> </div> </div> </div></div>_______________________________________________<br>fieldtrip mailing list<br><a rel="nofollow" ymailto="mailto:fieldtrip@donders.ru.nl" target="_blank" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></div></div><br>_______________________________________________<br>fieldtrip mailing list<br><a rel="nofollow" ymailto="mailto:fieldtrip@donders.ru.nl" target="_blank" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br><a rel="nofollow" target="_blank" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br><br> </div> </div> </div></div></div><br>_______________________________________________<br>fieldtrip mailing list<br><a ymailto="mailto:fieldtrip@donders.ru.nl"
href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br><br> </div> </div> </div></body></html>