code used in the Neuroimaging2 Electrophysiology course, Donders