Purpose: To investigate the electrophysiological correlates of human cognition and affective processing. Participants: Drug-resistant epilepsy patients undergoing epilepsy surgery cortical mapping with continuous electrocorticography (ECoG) with intracranial electrodes. Procedures (methods): Participants will perform computer-based cognitive and affective processing tasks during routine long-term monitoring. Intracranial EEG will be collected during the task