Electroencephalography (EEG) in the diagnosis of seizures and epilepsy