1 / 14

Dan Goodman & Romain Brette Ecole Normale Supérieure Projet Odyssée

http://brian.di.ens.fr. Dan Goodman & Romain Brette Ecole Normale Supérieure Projet Odyssée. goodman@di.ens.fr brette@di.ens.fr. Structure of a neuron. Synapse. Axon. Dendrites. Soma (cell body). Membrane potential. Potential difference (V)

akina
Download Presentation

Dan Goodman & Romain Brette Ecole Normale Supérieure Projet Odyssée

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. http://brian.di.ens.fr Dan Goodman & Romain Brette Ecole Normale Supérieure Projet Odyssée goodman@di.ens.fr brette@di.ens.fr

  2. Structure of a neuron Synapse Axon Dendrites Soma (cell body)

  3. Membrane potential Potential difference (V) Due to the difference in concentrations of sodium and potassium ions (mostly). Roughly -70 mV at rest Inside cell Membrane (semi-permeable) Outside cell

  4. Action potentials (aka spikes)

  5. Synapses Neurotransmitter Presynaptic terminal Postsynaptic terminal Synaptic cleft

  6. Model neurons • “Single compartment model” – the simplest • Time evolution (differential equation) • Spike propagation (delta function) • Spike initiation • Threshold condition • Action potential (spike) • Reset V

  7. Perfect integrator model • One variable V • No time evolution, or dV/dt=0 • Spike propagation, when spike arrives set V→V+w • Threshold, fire spike if V>Vt • Reset, after spike V→Vr

  8. Leaky I&F • One variable V • Exponential decay (‘leak current’) orτdV/dt = -(V-Vr) • Spike propagation, when spike arrives set V→V+w • Threshold, fire spike if V>Vt • Reset, after spike V→Vr

  9. Introducing Brian – leaky I&F • Code is in Python • Equations (differential, define time evolution) • Threshold • Reset • Model • NeuronGroup • Connection

  10. Brian is flexible • Threshold increases when spike arrives and decays • Implemented as DE and user-defined reset and threshold functions

  11. Efficiency: vectorisation • Python is slow (interpreted) • In Brian most operations are vector operations (same operation on multiple pieces of data) • Use NumPyfor vector operations • Linear differential equation, use matrix algebra for exact update t→t+dt • Spike propagation, V→V+w for certain V, w • Threshold, V>Vt • Reset V→Vr

  12. Data structures State matrixS, values of model variables atanygiven time V=0 x=1 y=2 Update matrixA Encodes exact solution to linear differential equation Weight matrix W, synapse strengths

  13. Brian’s vector operations Update matrix A State matrix S V x y *

  14. The End • Brian is useful for modelling if: • Network of spiking neurons • Each neuron is modelled as single compartment • Not too many neurons (tens of thousands?) • Benefits are: • Easy to learn and use compared to other software • Quick to implement and tweak models

More Related