Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-024-01679-3, published online 10 June 2024

In the version of the article initially published, the first affiliation was incorrect and has now been amended to Center for Neuroscience Imaging Research, Institute for Basic Science (IBS), Suwon, Korea in the HTML and PDF versions of the article.