[FieldTrip] reject component

qi li lihqih at gmail.com
Sat Jan 14 18:09:20 CET 2012


Hi there,

I am having trouble to reject components after ICA/PCA done. Can somebody
help on this?

My command is as follows,
cfg=[];
cfg.topo=comp.topo;
cfg.topolabel=comp.topolabel;
comp_o=ft_componentanalysis(cfg,data_I4);
cfg=[];
cfg.component=[1 3 7];
data_I4c=ft_rejectcomponent(cfg,comp_o)

Errors pop up,

Reference to non-existent field 'invcomp'.

Error in ft_rejectcomponent (line 181)
  [junk, remove]    = match_str(comp.label, tmp.balance.invcomp.labelnew);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120114/38fbe7ab/attachment-0001.html>


More information about the fieldtrip mailing list