bioRxivNeurosciencePreprint
Correcting axial-motion artifacts in two-photon calcium imaging with suite2p-in-depth
Liad J. BaruchiniD, Maria CozaniD, Andrew Mikhniak, Carsen StringeriD, Sylvia SchröderiD
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.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Axial motion estimation and correction for simultaneous multi-plane two-photon calcium imaging
Andres Flores-Valle, Johannes D. Seelig·bioRxiv·Sep 28, 2021
- High Axial Resolution Is Necessary for Quantitative Two-Photon Calcium Imaging of Neuronal Populations
Ha Yun Anna. Yoon, Umaima Afifa, … Na Ji·bioRxiv·Jul 30, 2026
- PatchWarp: Corrections of non-uniform image distortions in two-photon calcium imaging data by patchwork affine transformations
Ryoma Hattori, Takaki Komiyama·Cell Reports MethodsPeer-reviewed·Apr 27, 2022
- Correction of z-motion artefacts to allow population imaging of synaptic activity in awake behaving mice
Thomas Michael Ryan, Antonio J. Hinojosa, … Leon Lagnado·The Journal of PhysiologyPeer-reviewed·Feb 5, 2020
- Real-Time Axial Motion Compensation for Intravital Two-Photon Imaging of Mechanically Loaded Bone
Samantha Z. Bratcher, Macy Mora-Antoinette, Karl J. Lewis·bioRxiv·Jul 20, 2026
- CRASH2p: Closed-loop Two Photon Imaging in a Freely Moving Animal
Paul McNulty, Rui Wu, … Marc H Gershow·bioRxiv·May 22, 2024