Code Monkey home page Code Monkey logo

15833's Introduction

OVERVIEW

Project Page

Short-term persistent spiking buffer model of entorhinal cortex described by Randal A. Koene and Michael E. Hasselmo

Writeup

OUTPUT

octave runSim.m

Cell    1
spiketime(ms)           102    212     322    432    543    658    778     902   1027    1152     1277    1402    
ISI(ms)                        110     110    110    111    115    120     124    125     125      125     125    
Phase(percent cycle)    0.82   0.70    0.58   0.46   0.34   0.26   0.22   0.22   0.22    0.22     0.22    0.22    
Theta cycle             1         2      3     4       5       6      7      8      9      10       11      12    

Cell    2
spiketime(ms)                   227    340    451    562     675    794    917    1041    1166    1291    1416    
ISI(ms)                                113    111    111     113    119    123    124     125      125     125    
Phase(percent cycle)           0.82   0.72   0.61   0.50    0.40   0.35   0.34   0.33    0.33     0.33    0.33    
Theta cycle                       2      3      4      5       6      7      8      9      10       11      12    

Cell    3
spiketime(ms)                           357   469    581     693    810     931   1055   1180     1305    1430    
ISI(ms)                                       112    112     112    117     121    124    125      125     125    
Phase(percent cycle)                   0.86  0.75   0.65    0.54   0.48    0.45   0.44   0.44     0.44    0.44    
Theta cycle                               3     4      5       6      7       8      9     10       11      12    

Cell    4
spiketime(ms)                                         607    717    829     946   1069    1194    1319    1444    
ISI(ms)                                                      110    112     117   123      125     125    125    
Phase(percent cycle)                                 0.86   0.74   0.63    0.57   0.55    0.55    0.55    0.55    
Theta cycle                                             5      6      7       8      9      10      11      12

Code

runSim.m

  1. initialize
    1. load currents (own file)
    2. pyramidal cells=4, length of simulation=1510

    3. pyramidal cells and gammaNeuron to v=-60 and spiketime=-Inf
    4. thetaSpikes = [ 0.*[1x125]; 125 .*[1x125]; ...;4.*125/*[1x125] ]
    5. setinputs to pyrimdal cells ( 1,100 2,225 3,355 4,605)
  2. for each step of stimulation
    1. for each pyramidal cell
      1. update this pyramidal cell voltage
    2. update gamma cell voltage
  3. collect stats
  4. plot gamma and pyramidal cells

updatePyramidal/Gamma

  1. if cell spiked within last millisecond
    1. v =0
    2. return %don't do anything else
  2. for j as each current (leak, theta, ahp, adp, input, gamma)
    1. get "t"
      1. if current is theta use theta spikes
      2. if current is gamma use gammaNueron spike time
      3. otherwise use this pyramidal cell's spike time
    2. calculate "g"
      1. using above t and currents(j).tau_fall ...anrom, G, Erev
    3. add to numerator num=num+g.*(E-v) and denominator denom=denom+num+g portions of deltaV sum
  3. calculate detaV using collected sums=> num*dt /(1+dt *denom)
  4. if voltage is above thres AND timeline(i) > spiketime+2ms
    1. voltage = 0
  5. update volt of pyrmidal(p)
  6. update Vhist(p,i) = voltage

15833's People

Contributors

willforan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

dx88968

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.