Electrocorticography:

electrocorticography (ECoG), also known as intracranial electroencephalogram (iEEG), is a procedure that involves placing electrodes on the surface of the brain (as opposed to the scalp, as in a typical electroencephalogram) to monitor the electrical activity of the brain.