[FieldTrip] Problem plotting independent components
Dave Deriso
dderiso at ucsd.edu
Tue Dec 6 20:17:03 CET 2011
Dear JM and Jörn,
Thank you so much for your helpful suggestions. Matlab could not find/open
layout file: *NM306.lay* with both *ft_topoplotTFR* and* ft_topoplotIC*. I
have also tried each of the following layouts without success:
cfg.layout =3D data.grad;
cfg.layout =3D 'neuromag306all.lay';
cfg.layout =3D 'neuromag306cmb.lay';
cfg.layout =3D 'neuromag306mag.lay';
cfg.layout =3D 'neuromag306planar.lay';
(and no layout cfg, as prescribed by the bottom of
http://fieldtrip.fcdonders.nl/reference/ft_topoplotic)
As Jörn mentioned, the IC and sensor labels are different and,
therefore, doing a string comparison will return an error. The question is
then, how can I project the ICs back into sensor space and plot them
topographically using the pre-existing sensor layouts? If this accomplished
by the *ft_topoplotIC* function, shouldn't it expect the IC labels to be
different from the layout labels?
Thanks again for all of your help!
Cheers,
Dave Deriso
--
UCSD Institute for Neural Computation
UCSD Department of Neurosurgery
On Tue, Dec 6, 2011 at 3:55 AM, "Jörn M. Horschig" <
jm.horschig at donders.ru.nl> wrote:
> Dear Dave,
>
> the labels do not match indeed, because ICs do not correspond to single
> channel (obviously). I am not exactly sure how ft_topoplotIC is built, but
> you could try using ft_databrowser instead, with cfg.viewmode = 'component'
> Hope that at least circumvents your problem.
>
> Best,
> Jörn
>
>
> On 12/6/2011 2:45 AM, Dave Deriso wrote:
>
> Dear Fieldtrip Users,
>
> I am trying to implement the tutorial on using ICA to extract eyeblink
> artifacts (
> http://fieldtrip.fcdonders.nl/example/use_independent_component_analysis_ica_to_remove_eog_artifacts).
> Everything works, except that the labels from the IC data do not match the
> labels from the layout file, causing an error in the topoplotIC
> function. Your help in solving this is most appreciated.
>
>
> Layout labels (I am using a Neuromag 306 MEG):
> 'MEG0113'
> 'MEG0112'
> 'MEG0111'
> 'MEG0122'
> 'MEG0123'
>
> IC labels:
> 'runica001'
> 'runica002'
> 'runica003'
> 'runica004'
> 'runica005'
>
> Matlab Output:
> ft_topoplotIC(cfg, comp);
> creating layout from data.grad
> creating layout for neuromag306alt system
> Error using ft_topoplotTFR (line 659)
> labels in data and labels in layout do not match
> Error in ft_topoplotIC (line 122)
> ft_topoplotTFR(cfg, varargin{:});
>
>
>
> Cheers,
> Dave Deriso
>
> --
> UCSD Institute for Neural Computation
> UCSD Department of Neurosurgery
>
>
>
> _______________________________________________
> fieldtrip mailing listfieldtrip at donders.ru.nlhttp://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
>
> --
> Jörn M. Horschig
> PhD Student
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognitive Neuroimaging
> Radboud University Nijmegen
> Neuronal Oscillations Group
>
> P.O. Box 9101
> NL-6500 HB Nijmegen
> The Netherlands
>
> Contact:
> E-Mail: jm.horschig at donders.ru.nl
> Tel: +31-(0)24-36-68493
> Web: http://www.ru.nl/donders
>
> Visiting address:
> Trigon, room 2.30
> Kapittelweg 29
> NL-6525 EN Nijmegen
> The Netherlands
>
>
> _______________________________________________
> 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/20111206/d77afd38/attachment-0001.html>
More information about the fieldtrip
mailing list