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.
Keywords: fiber photometry; in vivo; open‐source; software; toolbox.
© 2025 The Author(s). Current Protocols published by Wiley Periodicals LLC.