Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01329-7, published online 23 December 2021.

In the version of this article initially published, several edits were omitted due to a processing error. In the Data availability section of the article and in the supplementary Nature Research Reporting Summary, the link for data used in the figures has been amended to https://www.opendata.bio.ens.psl.eu/3D-CASH/ from ftp://ftp.biologie.ens.fr/pub/neurobiologie/3DScope/. In the original version of Extended Data Fig. 4b, the black and blue traces were truncated, and the figure has been replaced. In Extended Data Fig. 6c, a color bar has been restored above the Trial #3 data. The changes have been made to the Supplementary Information and HTML and PDF versions of the article.