Detection of event related potentials.