PASTa: An Open‐Source Analysis and Signal Processing Toolbox for Fiber Photometry Data

Fiber photometry is a rapidly growing technique to record real-time neural signaling in awake, behaving subjects. However, the processing and analysis of photometry data streams can be complicated, and there is wide divergence in methods across the field. Although several open-source signal processing tools exist, platforms can be inflexible in accommodating experimental designs, lack consistency in signal peak detection, and difficult to use for novice users. In addition, more recent sensors produce fluorescence that may be detected on both signal and control streams, confounding signal processing. To remedy these challenges, we developed PASTa (Photometry Analysis and Signal Processing Toolbox), an open-source MATLAB-based toolbox and protocol for the processing and analysis of fiber photometry data. PASTa includes a full analysis pipeline from data preparation through signal processing and transient event detection. Default parameters were selected to provide users with a conservative starting place, with optional inputs to include other commonly used methods and techniques in the field. Additionally, the transient detection protocol adopts options for determining peak detection thresholds and pre-peak baselines to allow more reliable detection of events and characterization of transient kinetics. Although operating through MATLAB, the code is annotated to be readable, accessible for new users, and adaptable. Ultimately, the PASTa protocol introduces a customizable, user-friendly platform to process fiber photometry signals and detect and quantify transient events. Novel methods for the analysis of signal processing will continue to be integrated into the toolbox, seeking to provide fiber photometry users with access to a comprehensive analysis suite that can accommodate the wide diversity of sensors and experimental paradigms used in photometry. © 2025 The Author(s). Current Protocols published by Wiley Periodicals LLC. Basic Protocol 1: Software installation Basic Protocol 2: Data preparation Basic Protocol 3: Signal processing Basic Protocol 4: Transient detection and analysis Support Protocol: Function default customization.

Authors

Institutions

Publication Details

Journal
Current Protocols
Published
2025-07-01
DOI
https://doi.org/10.1002/cpz1.70161
Primary Topic
Neural dynamics and brain function
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PASTa: An Open‐Source Analysis and Signal Processing Toolbox for Fiber Photometry Data

Jamie D. Roitman, Rachel M Donka, Maxine K. Loh, Vaibhav Konanur et al.
Current Protocols
Neural dynamics and brain function
article

PASTa: An Open‐Source Analysis and Signal Processing Toolbox for Fiber Photometry Data

Jamie D. Roitman, Rachel M Donka, Maxine K. Loh, Vaibhav Konanur, Mitchell F. Roitman
article en

Abstract

Fiber photometry is a rapidly growing technique to record real-time neural signaling in awake, behaving subjects. However, the processing and analysis of photometry data streams can be complicated, and there is wide divergence in methods across the field. Although several open-source signal processing tools exist, platforms can be inflexible in accommodating experimental designs, lack consistency in signal peak detection, and difficult to use for novice users. In addition, more recent sensors produce fluorescence that may be detected on both signal and control streams, confounding signal processing. To remedy these challenges, we developed PASTa (Photometry Analysis and Signal Processing Toolbox), an open-source MATLAB-based toolbox and protocol for the processing and analysis of fiber photometry data. PASTa includes a full analysis pipeline from data preparation through signal processing and transient event detection. Default parameters were selected to provide users with a conservative starting place, with optional inputs to include other commonly used methods and techniques in the field. Additionally, the transient detection protocol adopts options for determining peak detection thresholds and pre-peak baselines to allow more reliable detection of events and characterization of transient kinetics. Although operating through MATLAB, the code is annotated to be readable, accessible for new users, and adaptable. Ultimately, the PASTa protocol introduces a customizable, user-friendly platform to process fiber photometry signals and detect and quantify transient events. Novel methods for the analysis of signal processing will continue to be integrated into the toolbox, seeking to provide fiber photometry users with access to a comprehensive analysis suite that can accommodate the wide diversity of sensors and experimental paradigms used in photometry. © 2025 The Author(s). Current Protocols published by Wiley Periodicals LLC. Basic Protocol 1: Software installation Basic Protocol 2: Data preparation Basic Protocol 3: Signal processing Basic Protocol 4: Transient detection and analysis Support Protocol: Function default customization.

Current ProtocolsVol. 5(7)
University of Illinois Chicago (US), University of Chicago (US)
Openalex Percentile: Top 85%
Neural dynamics and brain function
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.