Scientific Reports (Oct 2023)

Integrating operant behavior and fiber photometry with the open-source python library Pyfiber

  • Dana Conlisk,
  • Matias Ceau,
  • Jean-François Fiancette,
  • Nanci Winke,
  • Elise Darmagnac,
  • Cyril Herry,
  • Véronique Deroche-Gamonet

DOI
https://doi.org/10.1038/s41598-023-43565-1
Journal volume & issue
Vol. 13, no. 1
pp. 1 – 13

Abstract

Read online

Abstract Despite the popularity of fiber photometry (FP), its integration with operant behavior paradigms is progressing slowly. This can be attributed to the complex protocols in operant behavior – resulting in a combination of diverse non-predictable behavioral responses and scheduled events, thereby complicating data analysis. To overcome this, we developed Pyfiber, an open-source python library which facilitates the merge of FP with operant behavior by relating changes in fluorescent signals within a neuronal population to behavioral responses and events. Pyfiber helps to 1. Extract events and responses that occur in operant behavior, 2. Extract and process the FP signals, 3. Select events of interest and align them to the corresponding FP signals, 4. Apply appropriate signal normalization and analysis according to the type of events, 5. Run analysis on multiple individuals and sessions, 6. Collect results in an easily readable format. Pyfiber is suitable for use with many different fluorescent sensors and operant behavior protocols. It was developed using Doric lenses FP systems and Imetronic behavioral systems, but it possesses the capability to process data from alternative systems. This work sets a solid foundation for analyzing the relationship between different dimensions of complex behavioral paradigms with fluorescent signals from brain regions of interest.