[FieldTrip] Neuromag/ Elekta 306 layout file
Sreenivasan R. Nadar, Ph.D.
sreenivasan.r.nadar at gmail.com
Wed Feb 10 17:33:06 CET 2016
Hi Peter,
I used the the 306 layout information from the Neuromag datafile using the
following commands and it worked.
cfg = [];
cfg.component = [1:20];
cfg.comment = 'no';
cfg.skipscale = 'yes';
cfg.skipcomnt = 'no';
cfg.grad = data.grad;
ft_topoplotIC(cfg, comp);
-Sreenivasan
On Mon, Feb 8, 2016 at 2:44 PM, Peter Goodin <pgoodin at swin.edu.au> wrote:
> Hi Sreenivasan,
>
> Try using the neuromag306all.lay and neuromag306cmb.lay layout files.
>
> Peter
> On 9 Feb 2016 6:10 AM, "Sreenivasan R. Nadar, Ph.D." <
> sreenivasan.r.nadar at gmail.com> wrote:
>
> Fieldtripers,
>
> Anybody has a layout file for Elekta/Neuromag system? I downloaded the
> file from the following discussion list:
> http://mailman.science.ru.nl/pipermail/fieldtrip/2007-March/001019.html.
> 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:
>
> %~~~~~~~~~~~~~~~
> clear all
>
> cfg = [];
> cfg.dataset = 'C071_resting_150608.fif';
> cfg.hpfilter = 'yes'
> cfg.hpfreq = 1;
> cfg.channel = {'MEG', '-STI001', '-STI002','-STI003','-STI004',
> '-STI005',...,
> '-STI006','-STI007','-STI008','-STI101','-STI201','-STI301'};
>
> data_continuous = ft_preprocessing(cfg);
>
> %resample the data to 100Hz
> cfg = [];
> cfg.resamplefs = 100;
> [data] = ft_resampledata(cfg, data_continuous)
>
> %% running ICA and cleaning data
> cfg = [];
> cfg.method = 'runica';
> comp = ft_componentanalysis(cfg, data);
>
> cfg = [];
> cfg.component = [1:50];
> cfg.layout = 'NM306all.mat';
> cfg.comment = 'no';
> ft_topoplotIC(cfg, comp);
>
> %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Thank you
>
> Sreenivasan
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160210/245c959e/attachment-0002.html>
More information about the fieldtrip
mailing list