mixed difficulty

Which tool would most effectively allow researchers to measure brain wave patterns during sleep?