A light switch in the brain illuminates neural networks