Deciphering how neurons talk to each other by reading the brain’s electrical activity has given scientists insights into memory and conditions like epilepsy and Alzheimer’s.