Correction to: Nature Biomedical Engineering https://doi.org/10.1038/s41551-025-01457-x, published online 16 July 2025.

In the version of this article originally published, due to a conversion error, images of brains were missing in Fig. 6a. The figure is now corrected in the HTML and PDF versions of the article.