Coder Social home page Coder Social logo

maze_learning's Introduction

Exploration Maze

Hippocampal coding of maze exploration

How to run the code?

  1. Download behavCam1.avi in MiaoLab Server under folder H:\miniscope recording\maze\4_21_2020\10031H17_M15_S0 , and add to main folder to run the code.
  2. Run cv_maze_raw_M10031_new.ipynb to process behavior data.
  3. Run ms_decoding.ipynb to process calcium data.
  4. Run ms_analysis.ipynb to decode behavior data from calcium data.
  5. Run Behav_maze.py to process all behavior data based on an Excel file that records experimental details and file paths.
  6. Run ms_maze.py to process all calcium data based on an Excel file that records experimental details and file paths.
  7. Run Days_Aligned_online.ipynb to align data in different days.
  8. Run IncorrectPath_ratemap.ipynb to draw the ratemap of incorrect path.
  9. maze_graph.py and maze_utils.py are both necessary for the codes' running

Data:

Behavior results:

correct time, wrong time: time (seconds) spent on correct (both location and direction) and incorrect path

decision_rate: percentage of corrected decision made (计算方法可能有错)

half_level_proportion: proportion of time spent on first half levels of maze.

stop_time_mean, stop_time median: mean and median of stopping time (number of consecutive frames that mice remain on the same node).

speed (cm/s): mean of instantaneous speed (speed at each frame)

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.