Coder Social home page Coder Social logo

lyprince / neuralcoding Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 34.59 MB

Cortical coding study data analysis

Jupyter Notebook 95.32% Python 4.68%
neuroscience electrophysiology optogenetics patch-clamp-recordings mutual-information neural-coding

neuralcoding's Introduction

Note: if you are unable to open Neural_Coding.ipynb in your browser, try opening in Google Colab

This repository contains the analysis code for data published in Prince et al (under review). This code has been written in python 2.7, and has the following requirements:

matplotlib == 2.1.2
numpy == 1.14.1
scipy == 1.0.0
pandas == 0.22.0
neo == 0.5.2
sklearn == 0.19.1
tqdm == 4.29.1
yaml == 3.13

If you have any issues with compatibility, please fill out an issue report.

The analysis functions are split into three sections: electrophysiology (ncstudy.ephys) used to measure the electrophysiological properties of recorded cells in response to step currents, synaptic (ncstudy.synapses) used to measure the fidelity of the optogenetically stimulated presynaptic inputs to the electrophysiological recorded postsynaptic cell, and statistics (ncstudy.stats) used to estimate the mutual information between the underlying signal and the postsynaptic cell response.

Cell objects (ncstudy.cell.Cell) are used to store the results of each experiment (ncstudy.cell.Electrophysiology, ncstudy.cell.Synapses, ncstudy.cell.Code), and Cell objects are stored in extended OrderedDict class (ncstudy.cell.CellCollection). The full analysis pipeline is run through an Analysis object (ncstudy.analysis.Analysis) that handles loading and updating data from previous and new cells, and plotting the results.

The use of this code is demonstrated in the Neural_Coding.ipynb notebook.

Although many of these objects have been specialised for analysing the data from the experiments reported in Tran et al (in press), the functions in ncstudy.ephys and ncstudy.stats may have more general use.

For questions, please email [email protected]

neuralcoding's People

Contributors

lyprince avatar tranmmh avatar

Watchers

 avatar  avatar

Forkers

james-isbister

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.