Skip to content

Jupyter notebooks for analysis of dendritic two-photon calcium imaging data using the CaImAn toolbox.

Notifications You must be signed in to change notification settings

HelmchenLabSoftware/CaImAn_DendriteAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CaImAn_DendriteAnalysis

Jupyter notebooks used in the Helmchen lab for analysis of dendritic two-photon calcium imaging data. The notebooks rely on the the CaImAn toolbox.

Developed by Henry Luetcke, ETH Scientific IT Service.

Workflow overview

The workflow consists of two notebooks for motion correction and source extraction.

  1. Select data folder (date, session) and number of trials to process
  2. Crop TIF files (optional; to remove artefacts at the borders)
  3. Join single-trial TIF files into a single, joined TIF file
    • this step also saves a metadata file with info about contained trials in JSON format
  4. Run motion correction on joined TIF file
    • both rigid and pw-rigid motion correction and run and the results are saved as mmap and TIF files
  5. Assess quality of motion correction and residual motion
    • also detect frames with bad residual motion (store info in JSON file)

Source extraction: 02_SourceExtract.ipynb

  1. Select the mmap file created during motion correction (either rigid or pw-rigid correction) and (optionally) remove bad frames
  2. Run CNMF algorithm on the joined mmap file (single run, full FoV, no patches)
  3. Estimate quality of components and classify as good / bad
  4. Calculate DFF and plot traces
  5. Split up traces by trials and save as .mat file for further analysis in Matlab

About

Jupyter notebooks for analysis of dendritic two-photon calcium imaging data using the CaImAn toolbox.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published