Skip to content
 
 

Latest commit

 

History

124 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twoppp: two-photon data processing pipeline

This package allows to process simulataneously recorded two-photon imaging data and behavioural data.

Most of the sub-modules and functions are already documented. More docstrings are forthcoming!

This includes:

  • two-photon processing:
    • converting from .raw to .tif
    • motion correction using center of mass and optical flow registration
      • both local and preparing for on cluster computation
    • denoising using DeppInterpolation
    • DF/F computation
    • ROI extraction
  • behavioural data processing:
    • running DeepFly3D and postprocessing it
    • optical flow ball tracking processing
    • fictrac data handling
    • olfactory stimulation data processing
  • combined behavioural and two-photon data processing:
    • synchronisation of the two (or three) modalities
    • creating pandas dataframes with synchronised data from behavioural and neural data
    • making videos

The "examples" folder showcases example usecases of each of the sub-modules.

If you want to run the entire processing pipeline in one go, look at the run_processing_pipeline_local.py script.

Installation instructions:

  1. Create conda environment and install required packages according to their respective install instructions:
  2. Finally, we can install the twoppp package:
    • clone repository: git clone https://github.com/NeLy-EPFL/twoppp
    • change directory: cd twoppp
    • install using pip: pip install -e .

About

Preprocessing pipeline for 2p imaging and behaviour data.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages