Comments (5)
@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.
@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.
See the work on #82, especially test_parrot_neuron.py for test strategies.
from nest-simulator.
@heplesser What is the status of this? Thanks!
from nest-simulator.
@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)
- Review use of types for number of processes and threads
- Refactor to use higher mathematical functions available per C++17
- Compiler warns about initializing reference with temporary in astrocyte_lr_1994
- Slow DumpLayerConnections() HOT 3
- Download NEST for working with Python HOT 3
- Displaying NodeCollection is very slow in IPython
- SelectNodesByMask() and DumpLayerConnections() combination problem
- Failing MPI tests not properly detected
- When dividing by random parameter, one obtains fixed, not random values
- How to debug the C++ Kernel in VSCode from PyNEST program? HOT 2
- Report on PyNEST examples test run
- NEST cannot be built with MUSIC and this is not detected by the CI
- Failing to sudo apt-get install nest HOT 11
- Inconsistent initialization of MUSIC input proxies
- Test failures HOT 5
- Clang-format does not support JavaScript error HOT 1
- Using Pybind11 to wrap NESTKernel
- Evaluate Python MPI testing strategy
- Issues installing nest-simulator=2.20.* via conda HOT 1
- Tsodyks_synapse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nest-simulator.