We can change our mind and switch our attention–all in less than a second. These cognitive behaviors depend on millisecond time-scale interactions between millions of neurons distributed across the brain. The neuronal interactions underlying cognitive behaviors are rapid, distributed, and also highly complex. To address these challenges in studying cognition, I combine new experimental and computational approaches to measure brain function at high precision.