Content area

Abstract

Fiber photometry measures neural activity in vivo from genetically encoded indicators. Recordings generate large datasets that require extensive preprocessing and robust statistical methods for meaningful interpretation. However, existing analysis tools demand programming expertise, limiting accessibility. Here we describe FPmotion, a comprehensive, user-friendly software platform for batchwise processing, integration, and statistical analysis of fiber photometry data with or without accompanying behavioral information. FPmotion performs filtering, isosbestic regression, dF/F computation, detrending, and z-scoring. It also extracts detailed peak properties at whole-file, block-level, and individual-peak resolution. When behavioral data is provided, FPmotion automatically identifies behavioral bouts, computes bout-level statistics, performs peri-event signal extraction, and supports multi-group comparisons through ANOVA- and LMEM-based statistical frameworks. All analyses generate publication-ready figures and structured CSV outputs suitable for downstream workflows. FPmotion also introduces a dedicated alignment module for peri-event signal analysis. This module applies dynamic time warping followed by barycenter averaging to realign peri-event traces while preserving the behavioral time anchor, producing cleaner and more temporally coherent peri-event motifs. We demonstrate the capabilities of FPmotion software using the dlight1.1 sensor to measure dopamine responses from ventral striatum in behaving mice before and after amphetamine treatment. Together, FPmotion offers a fully automated framework for FP data analysis that improves interpretability and accessibility while reducing analysis time substantially.

Competing Interest Statement

The authors have declared no competing interest.

Footnotes

* https://github.com/TCB-yehong/FPmotion

Funder Information Declared

Research Council of Finland, https://ror.org/05k73zm37, 362838, 310583 Research Council for Health Postal address POB 131 00531 Helsinki Street address Hakaniemenranta 6 Phone +358 29 533 5000 Fax +358 29 533 5000 +358

Finnish Cultural Foundation, https://ror.org/027xav248

Details

1009240
Title
FPmotion an Automated Signal Processing and Statistical Analysis Tool for Fiber Photometry Data
Publication title
bioRxiv; Cold Spring Harbor
Number of pages
20
Publication year
2026
Publication date
Jan 20, 2026
Section
New Results
Publisher
Cold Spring Harbor Laboratory Press
Source
BioRxiv
Place of publication
Cold Spring Harbor
Country of publication
United States
University/institution
Cold Spring Harbor Laboratory Press
Publication subject
ISSN
2692-8205
Source type
Working Paper
Language of publication
English
Document type
Working Paper
ProQuest document ID
3295114891
Document URL
https://www.proquest.com/working-papers/fpmotion-automated-signal-processing-statistical/docview/3295114891/se-2?accountid=208611
Copyright
© 2026. This article is published under http://creativecommons.org/licenses/by/4.0/ (“the License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2026-01-21
Database
ProQuest One Academic