Correction to: Nature Methods https://doi.org/10.1038/s41592-022-01743-5. Published online 9 January 2023.

In the version of this article originally published, a second affiliation for Vicente Parot, now shown as “Institute for Biological and Medical Engineering, Pontificia Universidad Católica de Chile, Santiago, Chile,” was missing. The error has been corrected in the HTML and PDF versions of the article.