Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-023-01346-z, published online 18 May 2023

In the version of the article initially published, the equation in the “Trial-by-trial power spectral density calculations” section of Methods was incorrect; the sigma in the denominator was preceded by a superscript 3 and should have been followed by a superscript 2. The correct equation is shown below:

$${r}_{mr}^{2}=\frac{{(\overline{m}-\overline{r})}^{3}}{|\overline{m}-\overline{r}|{\sigma }_{m\cup r}^{2}}\frac{{N}_{m}{N}_{r}}{{N}_{m\cup r}^{2}}$$

The equation has been corrected in the HTML and PDF versions of the article.