Hi Sylvana,<br><br>Is the data SSS (maxfilter), I normally have this problem when data is SSS, try doing ICA with PCA (set at 64 components).<br><br>Sheraz Khan<br>Martinos Center<br>Boston, USA<br><br><div class="gmail_quote">
On Wed, Jul 6, 2011 at 2:09 PM, Stephen Whitmarsh <span dir="ltr"><<a href="mailto:stephen.whitmarsh@gmail.com">stephen.whitmarsh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear Sylvana,<br>
<br>
>From the top op my head: When running the ICA, try only computing it<br>
for the MEG or EEG channels. (cfg.channel = 'MEG';), so it doesn't run<br>
on reference sensors in case of MEG.<br>
I have hunch that might help out.<br>
<br>
Cheers,<br>
<font color="#888888">Stephen<br>
</font><div><div></div><div class="h5"><br>
<br>
On 6 July 2011 19:37, Sylvana <<a href="mailto:sylvana.schister@utah.edu">sylvana.schister@utah.edu</a>> wrote:<br>
> Hi all,<br>
><br>
> I am trying to use ICA to clean EOG and ECG artifacts of neuromag data.<br>
> I am running ft_topoplotIC(cfg, comp), where 'comp' is the output of<br>
> ft_componentanalysis.<br>
><br>
> I get the following error message:<br>
><br>
><br>
> ??? Error using ==> surf at 74<br>
> X, Y, Z, and C cannot be complex.<br>
><br>
> Error in ==> ft_plot_topo at 184<br>
>  h = surf(Xi-deltax/2,Yi-deltay/2,zeros(size(Zi)), Zi, 'EdgeColor',<br>
> 'none', 'FaceColor', shading);<br>
><br>
> Error in ==> ft_topoplotER at 753<br>
> ft_plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,...<br>
><br>
> Error in ==> ft_topoplotIC at 116<br>
>    ft_topoplotER(cfg, varargin{:});<br>
><br>
><br>
> The complex variable is 'Zi', which is taken from 'comp'. I can modify<br>
> the function to take the real part of the variable (or the absolute<br>
> value), but I am not sure if this would be the correct thing to do. In<br>
> case this is a bug, I thought I should report it. Any comments?<br>
><br>
> Thanks for your help,<br>
><br>
> Sylvana Schister<br>
> Univ. of Utah<br>
> Dept. of Bioengineering<br>
><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" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
><br>
<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" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</div></div></blockquote></div><br>