You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to rereference my data from the original CPz electrode to an average of the mastoid electrodes (M1 + M2) in eeglab2025.0.0. Before rereferencing I have removed two components from my dataset with an ICA. I am working with a 64-channel cap. When trying to rereference, I get the following error:
EEGLAB error in function eeg_checkset() at line 1038:
Index in position 1 exceeds array bounds. Index must not exceed 62.
Or in the command window:
Index in position 1 exceeds array bounds. Index must not exceed 62.
Error in eeg_checkset (line 1038)
tmpact = (EEG.icaweightsEEG.icasphereEEG.data(EEG.icachansind,1:1000);
Error in pop_reref (line 383):
EEG = eeg_checkset(EEG);
I'm trying to rereference my data from the original CPz electrode to an average of the mastoid electrodes (M1 + M2) in eeglab2025.0.0. Before rereferencing I have removed two components from my dataset with an ICA. I am working with a 64-channel cap. When trying to rereference, I get the following error:
EEGLAB error in function eeg_checkset() at line 1038:
Index in position 1 exceeds array bounds. Index must not exceed 62.
Or in the command window:
Index in position 1 exceeds array bounds. Index must not exceed 62.
Error in eeg_checkset (line 1038)
tmpact = (EEG.icaweightsEEG.icasphereEEG.data(EEG.icachansind,1:1000);
Error in pop_reref (line 383):
EEG = eeg_checkset(EEG);
Error in ERP_preproc_SA (line 54):
EEG = pop_reref(EEG, [13 19], 'exclude', excludedChannelsreref)
Do you know how to solve this issue? Many thanks in advance!
The text was updated successfully, but these errors were encountered: