Code Monkey home page Code Monkey logo

Comments (5)

flinz avatar flinz commented on May 12, 2024

@heplesser would it make sense to attempt writing this in pynest at all, or is there a straightforward way of testing this in SLI?

In pynest one could compare the effect of a single spike with multiplicity 1 against a single spike with higher multiplicity on "the state variable" (this would be varying a little across models) of all neuron models, and assert there is a difference. However, this seems a little indirect..

from nest-simulator.

heplesser avatar heplesser commented on May 12, 2024

@flinz Our basic strategy so far has been to write tests in SLI where possible. A lot of connectivity tests are probabilistic and need statistical analysis, so they are written in Python to be able to use tools from SciPy etc. But in this case, tests in SLI would be better, so the tests can run even when Python is not available.

The basic approach here would be the same as I implemented in ParrotNeuronPoissonTestCase: create a high-rate Poisson generator that will emit spikes with multiplicity > 1 and look at the effect on the membrane potential of the receiving neuron. If we want to apply this to all neuron types, though, it will be difficult to come up with an expectation of what the membrane potential should look like if everything is ok. We need a test that does not require manual specification of the expectation for each neuron model.

from nest-simulator.

heplesser avatar heplesser commented on May 12, 2024

See the work on #82, especially test_parrot_neuron.py for test strategies.

from nest-simulator.

jougs avatar jougs commented on May 12, 2024

@heplesser What is the status of this? Thanks!

from nest-simulator.

heplesser avatar heplesser commented on May 12, 2024

@jougs Thanks for reminding me about this one. I will try to get around to it shortly. Actually, I now think that one can set up a test reasonably easily: parrot_neuron always emits spikes with multiplicity. Thus, if we in one case send spikes at identical times from two spike generators via two parrot neurons, and once via a single parrot, then in one case we get two input spikes of multiplicity one, in the other case one spike with multiplicity two. The membrane potential after the input must be identical.

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.