PASTa
Version 0.1.0 (1.12 MB) by
Rachel Donka
PASTa Protocol: An opensource analysis and signal processing toolbox for fiber photometry data https://rdonka.github.io/PASTaUserGuide/
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. While several open-source signal processing tools exist, platforms can be inflexible in accommodating experimental designs, lack consistency in signal peak detection, and be difficult to use for naive 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. While 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 to 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.
Cite As
Rachel Donka (2025). PASTa (https://se.mathworks.com/matlabcentral/fileexchange/181125-pasta), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with R2014b and later releases
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Data Preparation
Helper Functions
Helper Functions/TDTbin2mat
Helper Functions/TDTbin2mat/export
Helper Functions/TDTbin2mat/export/nex
Plot
Signal Processing
Transient Analysis
| Version | Published | Release Notes | |
|---|---|---|---|
| 0.1.0 | Updated to include TDT multi-block format functions for data extraction and loading |
|
|
| 0.0.0 |
|
