Correcting axial-motion artifacts in two-photon calcium imaging with suite2p-in-depth
L. J. Baruchin, M. Cozan, A. Mikhniak, C. Stringer, S. Schröder
Key points
From the paper's conclusion- Together, these methods enable axial-motion artifacts to be assessed and corrected within established Suite2p workflows.
Abstract
Two-photon calcium imaging enables measurements of neural activity from individual neurons and their subcellular processes in awake animals. Axial brain motion can change measured fluorescence independently of neural activity and move small structures out of the imaging plane, confounding two-photon calcium measurements in behaving animals. We developed two complementary post-acquisition methods, selected according to whether the imaged structure remains detectable across the encountered depth range. When it does, z-stack correction estimates imaging depth from a separately acquired reference z-stack and uses an axial fluorescence profile specific to each neural structure to rescale fluorescence to a common reference depth. When a structure can leave a single imaging plane, volume-based z-registration reconstructs a common-depth movie from repeated acquisitions of closely spaced planes. In awake mice, both methods tracked experimentally imposed axial displacements within the sampled range, with depth-estimation root mean squared errors (RMSEs) below 1 m for z-stack correction and 0.69-1.03 m for volume-based z-registration. Correction changed fluorescence substantially for a subset of somata, with larger effects in axonal boutons. Both methods are implemented in suite2p-in-depth, a Python package that integrates with Suite2p and provides diagnostics for depth estimation, correction quality and data reliability. Together, these methods enable axial-motion artifacts to be assessed and corrected within established Suite2p workflows.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- High Axial Resolution Is Necessary for Quantitative Two-Photon Calcium Imaging of Neuronal Populations.bioRxiv : the preprint server for biology · 2026
- CoReg, tracking-based motion compensation for in vivo calcium imagingbioRxiv · 2026
- A protocol for cortical and deep-brain calcium imaging in freely moving mice with the Mini2P system.bioRxiv : the preprint server for biology · 2026
- Extracting large-scale neural activity with Suite2pbioRxiv · 2026
- High-throughput two-photon volumetric brain imaging in freely moving miceNature Communications · 2025
- Multi-region two-photon calcium imaging in freely moving animalsbioRxiv · 2026