[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SpiritSeeker/SpyNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpyNet

A simple framework for simulating interactions between multiple neurons. This project is an extension of a course project for Computational Neuroscience.

Prerequisites

The entire framework is mostly built using inbuilt python modules. It uses numpy for numerical optimizations.

pip install numpy

GPU acceleration

Computation of dendritic voltages can be accelerated by GPUs. If the system has a valid installation of CUDA, install numba to make use of the GPU acceleration.

pip install numba

Plotting the results (optional)

To plot the various potentials and currents, matplotlib can be used.

pip install matplotlib

Structure

The framework facilitates building a network as a collection of neurons connected by synapses. Following is a brief description. Please refer to get_started for a detailed description.

Neuron

The neuron has three components associated with it: Dendrite, Soma and Axon.

Dendrite

The dendrite is implemented following Cable Theory. I've considered the simple case of a non-branching dendrite with single synaptic input. A neuron can have many such dendrites and the currents due to each add up when they reach the soma.

Soma

The soma is a Hodgkin-Huxley Model with input currents as the sum total of currents from all input dendrites. The resulting membrane potentials travel down the axon.

Axon

The axon follows a simplistic delay model in which the membrane potentials in the soma reach the axon terminals at delayed times. Branching of an axon is modelled as different delays and does not affect the membrane potentials.

Synapse

Only excitory NMDA and non-NMDA type synapses have been implemented yet. Each of the synapse is modelled as a change in conductance of the postsynaptic dendritic membrane.

Acknowledgements

All the theory and models used are built using the knowledge gained by reading Theoretical Neuroscience by Peter Dayan and L. F. Abbott and Biophysics of Computation by Christof Koch.

Contributors

A big shoutout to Chandana for testing the framework.

About

A Passive Neuronal Network Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published