Hi,
I am trying to run ICA on EEG data, recorded from 128-channel cap from an EGI system, in order to remove blinks. For most participants it works fine, asking for 10 to 20 components (e.g., nbcomp = 10). Here are the parameters that I am using:
sFiles = bst_process('CallProcess', 'process_ica', sFiles, [], ...
'timewindow', [], ...
'eventname', '', ...
'eventtime', [-0.2, 0.2], ...
'resample', 500, ...
'bandpass', [0, 0], ...
'nicacomp', nbcomp, ...
'sensortypes', EEG, ...
'usessp', 1, ...
'ignorebad', 1, ...
'saveerp', 0, ...
'method', 1); % Infomax: EEGLAB / RunICA
For some participants however I get the following error:
'runica(): QUITTING - weight matrix may not be invertible!'
Sometimes reducing the number of components even more solves the issue, although the components you get are not necessarily as good to get blinks. But sometimes it doesn't. Increasing the number of components to 50 doesn't seem to solve the issue either.
Any idea what I'm doing wrong?
Thanks!
Svetlana