Correction to: Nature Methods https://doi.org/10.1038/s41592-019-0544-2, published online 9 September 2019.

In the Supplementary Information initially published online for this Brief Communication, Supplementary Fig. 2 showed a simplified version of the optical setup. It has now been replaced with a detailed version that clarifies the optical path between the galvonometer and the cameras. Supplementary Note 3 has also been updated to provide a more detailed description of the microscope. The Supplementary Information has now been replaced.