Any measurement of the functioning, e.g. the electrical output, of the brain to produce an effect. The brain is the portion of the central nervous system enclosed within the cranium which is composed of gray matter and white matter and is the primary center for the regulation and control of bodily activities, receiving and interpreting sensory impulses, and transmitting information to the muscles and body organs.