electrical activity measured in the brain