Event-related potentials suggest slowing of brain processes in generalized epilepsy and alterations of visual processing in patients with partial seizures