[Eeglablist] error with pop_iclabel(EEG, 'default')

Iversen, John jiversen at ucsd.edu
Thu Oct 13 11:12:07 PDT 2022


Hi, Fernando,

What is the sampling rate of your data?

ICLabel currently has some assumptions when calculating the spectra that requires a minimum sampling rate of 200, IIRC. It’s been reported but not yet fixed.

If it’s not that, it would help if you said more about the differences between working and non-working datasets.

John
________________________________
From: eeglablist <eeglablist-bounces at sccn.ucsd.edu> on behalf of Fernando Valle-Inclán <fvalleinclan at gmail.com>
Sent: Thursday, October 13, 2022 1:55:13 AM
To: eeglablist <eeglablist at sccn.ucsd.edu>
Subject: [Eeglablist] error with pop_iclabel(EEG, 'default')

Hi everyone,
      I find that pop_iclabel  gives an error with some data sets and works
perfectly with others. I have FIRFILT installed. Here is the message I get
in the Matlab command window when running eeglab 2019_1

Index exceeds matrix dimensions.
Error in eeg_rpsd (line 38)
    temp = temp(:, 2:nfreqs + 1, :) * 2 / (EEG.srate*sum(window.^2));

Error in ICL_feature_extractor (line 48)
psd = eeg_rpsd(EEG, 100);

Error in iclabel (line 52)
features = ICL_feature_extractor(EEG, flag_autocorr);

Error in pop_iclabel (line 77)
    EEG = iclabel(EEG, version)

And essentially the same when running eeglab2021.1

Index exceeds matrix dimensions.
Error in eeg_rpsd (line 38)
    temp = temp(:, 2:nfreqs + 1, :) * 2 / (EEG.srate*sum(window.^2));

Error in ICL_feature_extractor (line 48)
psd = eeg_rpsd(EEG, 100);

Error in iclabel (line 52)
features = ICL_feature_extractor(EEG, flag_autocorr);

Error in pop_iclabel (line 109)
    EEG = iclabel(EEG, icversion);




Any help would be greatly appreciated

Fernando Valle
_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu



More information about the eeglablist mailing list