I am very new to this type of neuroscience research and I am trying to do some automatic artifact detection. I am having trouble understanding how I should work with my data. I have data recorded from 20 electrodes on my EEG. The outputs are all in microVolts and are recordings for only one person doing eye blinking during the recording. My question is, now that I have the data from the 20 electrodes, how would I do PCA or ICA analysis on them? Like should I apply sklearn (from python) PCA or ICA option to the whole matrix, meaning to the whole data of the 20 electrodes, at once or should I apply these options to the measurements from one electrodes at a time and then combine them?
Thanks so much for your help and let me know if more specificity in the question is needed.