[FieldTrip] Help about ft_topoplotIC?

Lozano Soldevilla, D. (Diego) d.lozanosoldevilla at fcdonders.ru.nl
Wed Mar 5 14:37:33 CET 2014


Hi Xiao , It might be not a plotting but a ICA issue. See here: http :// fieldtrip . fcdonders . nl / faq /why_does_my_ ica _output_contain_complex_numbers If your EEG data is rank deficient (due to preprocessing steps as re-referencing, channel interpolations... before ICA computation), ICA output can contain complex number, which is not a good thing. See the above FAQ to see how to solve it. best, Diego ----- Original Message -----
> From: " tongxiao meng " < mengtongxiao @ gmail .com>
> To: " fieldtrip " < fieldtrip @science. ru . nl >
> Sent: Wednesday, 5 March, 2014 2:28:48 PM
> Subject: [ FieldTrip ] Help about ft_ topoplotIC ?
> Dear all,
> My question is: I use ICA to remove EOG artifacts, can't plot the
> components for visual inspection using ft_ topoplotIC ().
> Now for what I did:
> cfg =[];
> cfg .grad =data.grad;
> layout = ft_prepare_layout( cfg , data);
> figure
> cfg = [];
> cfg .component = [1:20];
> cfg .layout = layout ;
> cfg .comment = 'no' ;
> ft_ topoplotIC ( cfg , comp)
> ??? Error using ==> surf at 78
> X, Y, Z, and C cannot be complex.
> Error in ==> ft_plot_ topo at 251
> h = surf(Xi-deltax/2,Yi-deltay/2,zeros(size( Zi )), Zi , 'EdgeColor' ,
> 'none' , 'FaceColor' , shading);
> Error in ==> topoplot _common at 701
> ft_plot_ topo ( chanX , chanY , datavector , 'interpmethod' , cfg
> .interpolation,...
> Error in ==> ft_ topoplotTFR at 191
> [ cfg ] = topoplot _common( cfg , varargin {:});
> Error in ==> ft_ topoplotIC at 142
> ft_ topoplotTFR ( cfg , varargin {:});
> how can I do?
> Thanks a lot
> Xiao
> _______________________________________________
> fieldtrip mailing list
> fieldtrip @ donders . ru . nl
> http ://mailman.science. ru . nl /mailman/ listinfo / fieldtrip
-- PhD Student Neuronal Oscillations Group Donders Institute for Brain, Cognition and Behaviour Centre for Cognitive Neuroimaging Radboud University Nijmegen NL-6525 EN Nijmegen The Netherlands http :// www . ru . nl /people/ donders /lozano-soldevilla-d/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140305/5130aed1/attachment.html>


More information about the fieldtrip mailing list