PhoPro: object-oriented photometry processing in Python
A comprehensive toolkit for the processing, analysis, and simulation of fiber photometry data (GitHub).
Overview
This package provides extensive functionaly for processing, handling, analyzing, and bulk processing fiber photometry datasets while remaining highly customizable. The high level APIs only require basic programming experience. It is built around 4 cores modules:
-
PhotometryLoader - loads various photometry data formats.
-
PhotometryExperiment - processes and windows photometry experiments.
-
PhotometryData - handles trial-wise signals and metadata with advanced filtering, averaging, windowing, and analysis functionality.
-
PhotometryPipeline - handles highly-customizable bulk processing of photometry data.
With an additional module for rigorously simulating complex photometry data:
- SimulatedPhotometry - simulates photometry traces with realistic photobleaching, movement artifacts, and custom event dynamics.
Installation
You can install directly from GitHub using the command:
See the Installation page for more details.
Tutorials
The currently avaliable tutorials are:
-
Introduction - explains the basic usage of the packages core features.
-
Simulating Photometry - provides a detailed explanation of the components of fiber photometry signals and how to simulate them with the package.
-
Data Handling and Analysis - detailed walkthrough of the
PhotometryDataclass and its functionality (WIP). -
Signal Processing - detailed walkthrough of the
PhotometryExperimentclass (WIP). -
Batch Processing - detailed guide on how to use the
PhotometryPipelineclass for bulk processing (WIP).
They are also avaliable as interactive Jupyter Notebooks here. Some tutorials are still a work-in-progress and will be updated.
License
MIT License.
Authors
This package is developed and used internally at the Bizon-Setlow Lab at the University of Florida.
Griffin Golde: University of Florida, contact: ggolde@ufl.edu
Citations
If you use this package in your work, and want to support the package, use the citation below (a proper publication is hopefully on the horizon):
- Golde G. PhoPro: a comprehensive toolkit for the processing, analysis, and simulation of fiber photometry data. GitHub repository. Version 0.5.5. Available at: https://github.com/ggolde/PhoPro.
Additionally, if you used the analysis.FMM module, please review the recommended reference(s) for the fast-fmm-rpy2 package.
AI Use Disclaimer
Generative AI tools were used in support of developing this package mainly by:
- Generating and updating docstrings
- Helping prototype new features
- Debugging and integration
- Optimization of coputation heavy operations
- Assisting in the creation some tutorials