Neuroscientific advances follow a pattern of visualizing the brain, measuring its function and then controlling it.