GithubHelp home page GithubHelp logo

wisamreid / caiman_dendrite_analysis_helmchen_lab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helmchenlabsoftware/caiman_dendriteanalysis

1.0 1.0 0.0 25.09 MB

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

Jupyter Notebook 100.00%

caiman_dendrite_analysis_helmchen_lab's Introduction

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

caiman_dendrite_analysis_helmchen_lab's People

Contributors

hluetck avatar gwensch avatar

Stargazers

Wisam Reid avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.