[FieldTrip] IClabel of EEGlab error
Arnaud Delorme
arnodelorme at gmail.com
Wed Apr 29 20:35:06 CEST 2020
This is an EEGLAB question which you can ask on this list eeglablist at sccn.ucsd.edu
The short answer is that you need to look up channel coordinates, because IClabel needs them.
Best wishes,
Arno
> On Apr 29, 2020, at 12:55 PM, Christos Chatzichristos <chrichat at hotmail.com> wrote:
>
> Dear all
>
>
>
> I am facing an error while using IClabel
> My code is straightforward
>
> EEG=pop_biosig('edf.file');
> EEG=pop_runica(EEG,'chanind',[1:22]);
> EEG=icalabel(EEG);
>
> And i receive the following error :
>
> Error using /
> Matrix dimensions must agree.
>
> Error in topoplotFast (line 894)
> squeezefac = rmax/plotrad;
>
> Error in ICL_feature_extractor (line 33)
> topoplotFast(EEG.icawinv(:, it), EEG.chanlocs(EEG.icachansind), ...
>
> Error in iclabel (line 52)
> features = ICL_feature_extractor(EEG, flag_autocorr);
>
>
> The error arises from the fact that STYLE='map'; (line 576 of topoplotfast) and plotchans=[] from the begininig. Any idea?
> _______________________________________________
> fieldtrip mailing list
> https://urldefense.com/v3/__https://mailman.science.ru.nl/mailman/listinfo/fieldtrip__;!!Mih3wA!VdtO5wW0UEzmn9FiPtNEcjHCDdLXyb5qP_x8MkXpWkaGu7ePle7pfMtnCUq-$
> https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!Mih3wA!VdtO5wW0UEzmn9FiPtNEcjHCDdLXyb5qP_x8MkXpWkaGu7ePle7pfHl6jlT3$
More information about the fieldtrip
mailing list