the basis of measuring brain activity from the scalp and how brain rhythms reflect key