In this study, the investigators will apply rhythmic DES to patients who are undergoing routine DES for cortical mapping as a part of their epilepsy surgery evaluation with the aim of entraining cortical neural oscillations at specific frequencies relevant to cognitive processing and neuropsychiatric disease. The investigators hypothesize that rhythmic DES within a naturally occurring oscillatory frequency will cause entrainment at that frequency (e.g. 10Hz rhythmic DES will entrain a 10 Hz alpha oscillation). Also, the investigators posit that rhythmic DES at the theta (5Hz), alpha(10Hz), and gamma (50Hz) frequencies will cause enhancement of neural oscillations in the gamma band.