Hi,
I've been trying to read through the source code to understand this, but I'm still having trouble figuring it out.
From what I can see, the neurons are updated using a for loop, meaning each neuron is updated one at a time. The update function for each neuron can run for multiple timesteps, but I'm unclear on how its B_.input_buffer_ gets updated while the update function is running. If it doesn't get updated during this process, wouldn't it miss some spike events? Additionally, how does the code ensure that neurons updated one at a time for all simulation steps do not miss any spike events?
Thank you for your help!
Best regards, Anh Phan
I think I get it now. Is update() called for each neuron every timestep, rather than once for the entire duration of the simulation?
Hi Anh,
You almost got it right: update() is called once per minimal delay interval. The details are explained in this paper:
H. E. Plesser, J. M. Eppler, A. Morrison, M. Diesmann, and M.-O. Gewaltig. Efficient parallel simulation of large-scale neuronal networks on clusters of multiprocessor computers. In A.-M. Kermarrec, L. Bougé, and T. Priol, editors, Euro-Par 2007: Parallel Processing, volume 4641 of Lecture Notes in Computer Science, pages 672-681, Berlin, 2007. Springer-Verlag. DOI 10.1007/978-3-540-74466-5https://dx.doi.org/10.1007/978-3-540-74466-5. Reprinthttps://arken.nmbu.no/~plesser/publications/Ples_2007_672.pdf.
Best, Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
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.nomailto:hans.ekkehard.plesser@nmbu.no Home http://arken.nmbu.no/~plesser
From: anh.phan@tuni.fi anh.phan@tuni.fi Date: Monday, 24 June 2024 at 13:01 To: users@nest-simulator.org users@nest-simulator.org Subject: [NEST Users] Re: Questions about Neuron Update Mechanism and Spike Event Handling in Source Code I think I get it now. Is update() called for each neuron every timestep, rather than once for the entire duration of the simulation? _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
Hi it is a little confusion in the code even for me at the beginning. By integration it uses adaptive steps so that within 2 time instances of simulation it needs a loop for multiple small steps too Hth Binh
Gesendet mit der mobilen Mail App
Am 24.06.24 um 11:38 schrieb anh.phan@tuni.fi
Hi,
I've been trying to read through the source code to understand this, but I'm still having trouble figuring it out.
From what I can see, the neurons are updated using a for loop, meaning each neuron is updated one at a time. The update function for each neuron can run for multiple timesteps, but I'm unclear on how its B_.input_buffer_ gets updated while the update function is running. If it doesn't get updated during this process, wouldn't it miss some spike events? Additionally, how does the code ensure that neurons updated one at a time for all simulation steps do not miss any spike events?
Thank you for your help!
Best regards, Anh Phan _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org