An electroencephalograph records the brain's electrical waves.