<div dir="ltr">Hi Peter,<div><br></div><div>I used the the 306 layout information from the Neuromag datafile using the following commands and it worked.</div><div><br></div><div><div>cfg = [];</div><div>cfg.component = [1:20];</div><div>cfg.comment = 'no';</div><div>cfg.skipscale = 'yes';</div><div>cfg.skipcomnt = 'no';</div><div>cfg.grad = data.grad;  </div><div>ft_topoplotIC(cfg, comp);</div></div><div><br></div><div>-Sreenivasan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 2:44 PM, Peter Goodin <span dir="ltr"><<a href="mailto:pgoodin@swin.edu.au" target="_blank">pgoodin@swin.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<p dir="ltr">Hi Sreenivasan,</p>
<p dir="ltr">Try using the neuromag306all.lay and neuromag306cmb.lay layout files.</p><span class="HOEnZb"><font color="#888888">
<p dir="ltr">Peter</p></font></span><div><div class="h5">
<div class="gmail_quote">On 9 Feb 2016 6:10 AM, "Sreenivasan R. Nadar, Ph.D." <<a href="mailto:sreenivasan.r.nadar@gmail.com" target="_blank">sreenivasan.r.nadar@gmail.com</a>> wrote:<br type="attribution">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">Fieldtripers,
<div><br>
</div>
<div>Anybody has a layout file for Elekta/Neuromag system? I downloaded the file from the following discussion list: <a href="http://mailman.science.ru.nl/pipermail/fieldtrip/2007-March/001019.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/2007-March/001019.html</a>.
 However, this layout file give errors (i.e., Attempt to reference field of non-structure array) when I use it for ft_topoplotIC(cfg,components).  Am I missing something? I used the following commands:</div>
<div><br>
</div>
<div>%~~~~~~~~~~~~~~~</div>
<div>
<div>clear all</div>
<div><br>
</div>
<div>cfg = [];</div>
<div>cfg.dataset     = 'C071_resting_150608.fif';<br>
</div>
<div>cfg.hpfilter = 'yes'</div>
<div>cfg.hpfreq   = 1;</div>
<div>cfg.channel = {'MEG', '-STI001', '-STI002','-STI003','-STI004', '-STI005',...,<br>
</div>
<div>    '-STI006','-STI007','-STI008','-STI101','-STI201','-STI301'};</div>
<div><br>
</div>
<div>data_continuous = ft_preprocessing(cfg);</div>
<div><br>
</div>
<div>%resample the data to 100Hz</div>
<div>cfg = [];</div>
<div>cfg.resamplefs = 100;</div>
<div>[data] = ft_resampledata(cfg, data_continuous)</div>
<div><br>
</div>
<div>%% running ICA and cleaning data</div>
<div>cfg = [];</div>
<div>cfg.method = 'runica';</div>
<div>comp = ft_componentanalysis(cfg, data);</div>
<div><br>
</div>
<div>cfg = [];</div>
<div>cfg.component = [1:50];</div>
<div>cfg.layout = 'NM306all.mat';</div>
<div>cfg.comment = 'no';</div>
<div>ft_topoplotIC(cfg, comp);</div>
<div><br>
</div>
<div>%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
</div>
</div>
<div>Thank you</div>
<div><br>
</div>
<div>Sreenivasan</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
</div>
</div></div></div>

<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>