Mapping EEG is a diagnostic test used to record bioelectrical activity in the brain through the scalp.