At the macroscale, indirect measurement of large areas of the brain's activity is achieved via functional magnetic resonance imaging (fMRI), positron emission tomography (PET), and electroencephalography (EEG). These methods can be used to resolve functional connectivity among brain regions. For example, EEG detects spontaneous or evoked electrical activity from the scalp with low spatial resolution (cm range).