[Eeglablist] Microstate Toolbox Error for the Spontaneous Data Type

Joseph Nuamah jknuamah at aggies.ncat.edu
Sat Oct 9 14:03:25 PDT 2021


Greetings!

I am reaching out because the error below was generated when I used the
Microstate Toolbox in EEGLAB.

*Error using findpeaks*
*Too many input arguments.*

*Error in pop_micro_selectdata (line 172)*
*        [~, peakidx{i,1}] =
findpeaks(GFP,'MinPeakDistance',MinTFdistance);*

I am not sure where this might be coming from.

These are the settings in pop_micro_selectdata().

*EEG,[ ALLEEG] = pop_micro_selectdata( EEG, ALLEEG, 'datatype',
'spontaneous',...*
*'avgref', 1, ...*
*'normalise', 0, ...*
*'MinPeakDist', 10, ...*
*'Npeaks', 1000, ...*
*'GFPthresh', 1, ...*
*'dataset_idx', 1:4 );*

Kindly help!

Joseph



More information about the eeglablist mailing list