Code Monkey home page Code Monkey logo

Comments (3)

clinssen avatar clinssen commented on May 23, 2024

Thanks for your report! I am not an expert on the model, but could it be that the difference you are seeing between the actual and expected values is due to the decay of the after-spike currents during the refractory period? That is, perhaps the variable "ASCurrents_sum" does not just contain the instantaneous update due to the spike, but that plus the amount of decay since the start of the refractory period.

If you set the refractory period to a very small value (0.0001), the actual and expected values match almost exactly.

Does this help?

from nest-simulator.

CloudyDory avatar CloudyDory commented on May 23, 2024

@clinssen Thanks for the reply! Yes, setting the refractory period to a very small value solves the issue. But it's a little bit strange, as the sum of the after-spike currents is flat during the refractory. It seems like NEST still updating the after-spike currents in the background, yet the actual recorded values are clamped.

I have one more question: Allen institute has release GLIF model parameters fitted to mouse V1 neuron data, and judging from the source code of GLIF neuron in allensdk, it seems that their GLIF model does not silently update after-spike currents during the refractory period. So the behavior of GLIF model in NEST and allensdk is different. It is still valid to use Allen's published GLIF parameters in NEST?

from nest-simulator.

CloudyDory avatar CloudyDory commented on May 23, 2024

I have checked the code in allensdk further.It turns out that they are also updating the after-spike currents during the refractory period. So the behavior is the same as NEST. Thanks!

from nest-simulator.

Related Issues (20)

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.