The Analysis of Scalp-Recorded Brain Potentials