Answer: intracranial EEG
Explanation:
Electrocorticography (ECoG), or intracranial is a type of electrophysiological monitoring that uses electrodes placed directly on the exposed surface of the brain to record electrical activity from the cerebral cortex.
This is the test the doctor uses to test a person's brain during sleep.