Dear Francesco,
I am afraid what you want to do is currently not possible.
I assume that you are working with plastic synapses and would like to achieve the following: every time a spike passes through a synapse P, in addition to sending that spike to its target neuron N, you would like to send the current weight to another synapse Q, with either the same target neuron N or a different target neuron T. Synapse Q might receive such input from several synapses P1, P2, ....
One way to implement this in principle (but this would require changes at the C++ level) could be to use a similar method as used to "feed" the weight recorder, namely, to add a third "output channel" to the synapse model for P, which sends a copy to the spike to synapse Q. A challenge here will be to ensure causality, some delay must probably be added (this is no problem for the weight recorder, as it is a pure output device). Making this work in MPI-parallel simulations could be another challenge.
Could you say a bit more about what you would like to achieve?
Best, Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser Head, Department of Data Science
Faculty of Science and Technology Norwegian University of Life Sciences PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560 Email hans.ekkehard.plesser@nmbu.no Home http://arken.nmbu.no/~plesser
On 04/07/2022, 16:21, "francescojamal.sheiban@polimi.it" francescojamal.sheiban@polimi.it wrote:
[Some people who received this message don't often get email from francescojamal.sheiban@polimi.it. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Dear all, I was wondering if it is possible to access the events collected by a weight_recorder during a simulation: I am able to collect and plot the recorded data once the simulation is over, but I found no information about accessing the device in real-time. Specifically, I would like to know if there is a way to pass the data as input to a custom NESTML synapse model dynamically during a simulation.
Best regards, Francesco Sheiban _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org