[FieldTrip] ICA problem

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Wed Jul 6 20:09:42 CEST 2011


Dear Sylvana,

>From the top op my head: When running the ICA, try only computing it
for the MEG or EEG channels. (cfg.channel = 'MEG';), so it doesn't run
on reference sensors in case of MEG.
I have hunch that might help out.

Cheers,
Stephen


On 6 July 2011 19:37, Sylvana <sylvana.schister at utah.edu> wrote:
> Hi all,
>
> I am trying to use ICA to clean EOG and ECG artifacts of neuromag data.
> I am running ft_topoplotIC(cfg, comp), where 'comp' is the output of
> ft_componentanalysis.
>
> I get the following error message:
>
>
> ??? Error using ==> surf at 74
> X, Y, Z, and C cannot be complex.
>
> Error in ==> ft_plot_topo at 184
>  h = surf(Xi-deltax/2,Yi-deltay/2,zeros(size(Zi)), Zi, 'EdgeColor',
> 'none', 'FaceColor', shading);
>
> Error in ==> ft_topoplotER at 753
> ft_plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,...
>
> Error in ==> ft_topoplotIC at 116
>    ft_topoplotER(cfg, varargin{:});
>
>
> The complex variable is 'Zi', which is taken from 'comp'. I can modify
> the function to take the real part of the variable (or the absolute
> value), but I am not sure if this would be the correct thing to do. In
> case this is a bug, I thought I should report it. Any comments?
>
> Thanks for your help,
>
> Sylvana Schister
> Univ. of Utah
> Dept. of Bioengineering
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>




More information about the fieldtrip mailing list