When experts analyze EEGs they look for landmarks in the traces corresponding to established patterns such as oscillatory and phasic events of particular frequency or morphology. Long records motivate automated analysis techniques. Automation techniques often require design choices such as wavelet family or number of bandpass filters. To overcome this, we explore a modeling approach that automatically learns recurrent temporal waveforms within EEG traces. The estimation is based on a multiple-input, single-output linear model with sparsely excited inputs.
Matlab code:
Algorithms and demos (zip)
This archive contains all of the underlying algorithms and three examples scripts to demonstrate the methodology. Please contact the first author at ajbrockmeier@gmail.com if you have troubles or questions.
Shift-invariant waveform clustering algorithm
shiftInvariantKmeans.m that can be used to find centroids of waveforms learned across channels and/or subjects.