bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.06.12.659422

FiPhoPHA - A fiber photometry python package for post-hoc analysis

Abstract

Fiber photometry is a neuroscience technique that can continuously monitor in vivo fluorescence to assess population neural activity or neuropeptide/transmitter release in freely behaving animals. Despite the widespread adoption of this technique, methods to statistically analyse data in an unbiased, objective, and easily adopted manner are lacking. Various pipelines for data analysis exist, but they are often system-specific, only for pre-processing data, and/or lack usability. Current post hoc statistical approaches involve inadvertently biased user-defined time-binned averages or area under the curve analysis. To date, no post-hoc user-friendly tool with few assumptions for a standardised unbiased analysis exists, yet such a tool would improve reproducibility and statistical reliability for all users. Hence, we have developed a user-friendly post hoc statistical analysis package in Python that is easily downloaded and applied to data from any fiber photometry system. This Fiber Photometry Post Hoc Analysis (FiPhoPHA) package incorporates a variety of tools, a downsampler, bootstrapped confidence intervals (CIs) for analyzing peri-event signals between groups and compared to baseline, and permutation tests for comparing peri-event signals across comparison periods. We also include the ability to quickly and efficiently sort the data into mean time bins, if desired. This provides an open-source, user-friendly python package for unbiased and standardised post-hoc statistical analysis to improve reproducibility using data from any fiber photometry system.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Drakopoulos, V., Reichenbach, A., Stark, R., Foldi, C. J., Jean-Richard-dit-Bressel, P., Andrews, Z. B.. 2025-06-15. FiPhoPHA - A fiber photometry python package for post-hoc analysis. https://doi.org/10.1101/2025.06.12.659422

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

A Mechanistic Account of Dedifferentiation in the Aging Visual System

To uncover the mechanisms of age-related dedifferentiation, we simulated neural degradation in a computational model of the ventral visual stream. Severing connections or adding noise, whether in inferotemporal cortex (IT) or upstream, reduced IT differentiation, indicating that dedifferentiation need not originate locally. Degrading peripheral V1, which preferentially drove place-selective IT neurons, selectively reduced place differentiation, a candidate mechanism for the stronger place dedifferentiation reported in aging.

neuroscience↗

Reusing pipettes in Patch-seq: a foundation for automated multimodal profiling

Patch-seq is a technique for single-cell multimodal characterization. It combines whole-cell electrophysiology, single-cell transcriptomics, and morphological reconstruction in single neurons. Patch-seq morphologies are a critical bridge among cell types, genes, physiology, and large-scale connectivity platforms such as EM connectomes and single-cell-resolution projectomes. However, patch-seq experimental complexity and operator dependence limit throughput. Automation could enable scalable Patch-seq but requires procedural adaptations, including detergent-based pipette cleaning, robotic nucleus extraction and collection. The impact of these automations on Patch-seq quality has not been systematically evaluated. Here, we show that each of these modifications preserves or improves key Patch-seq outcomes. Automated nucleus extraction performs comparably to, or better than, expert manual operation, preserving key RNA and morphological metrics. Detergent-cleaned, reused pipettes supported a viable sealing success rate across multiple cleaning cycles and preserved electrophysiological quality and transcriptomic yield without introducing excess contamination. Sonication effectively allows collection of nuclear material without damaging RNA and supports subsequent pipette cleaning and reuse. Enhanced automated sealing and break-in procedures increased throughput regardless of brain region, cell type or species. Together, these results validate the core procedural adaptations required for automated Patch-seq and establish a foundation for high-throughput, standardized multimodal single-cell characterization.

neuroscience↗

Development of direction selectivity in the Xenopus tadpole optic tectum and midbrain tegmentum

Detecting motion direction is a fundamental function performed by direction selective (DS) neurons. DS neurons in the optic tectum (superior colliculus in mammals) enable the tracking of moving objects. DS neurons of the accessory optic system support reflexive eye / head movements that stabilize gaze during self-motion. By developmental stage 48 (10 days postfertilization), Xenopus tadpoles display visually guided behaviors that require both types of DS neurons. Our previous work has shown that these two regions are not only functionally distinct but also follow different developmental programs. Here we characterized and compared how direction selectivity develops in both visual processing centers. Using in vivo electrophysiological recordings during moving bar visual stimulation, we measured DS synaptic inputs and spiking outputs in both regions across three key developmental stages of the retinotectal projection. Tegmental neurons were direction selective ab initio, and both input and output tuning remained stable across development. Tectal neurons were observed to receive DS inputs early, and their input selectivity also remained stable across development. However, their spiking output grew substantially more DS at the later developmental stage. This was due at least in part to a naturally occurring decrease in intrinsic excitability which preferentially dampened overall spike rates, but especially in response to the non-preferred direction of motion, thereby increasing direction selectivity. These results reveal distinct developmental trajectories in parallel visual pathways. Tegmental direction selectivity is established early and stays stable, whereas tectal output tuning sharpens during development through a decrease in intrinsic excitability.

neuroscience↗