Hi,
Then, I am afraid, that recording poisson spike trains and replaying them via a
spike_generator is the only option for now.
You could open an issue on Github requesting a “frozen poisson generator”, and even
better, if you have some experience in C++-coding contribute an implementation. I believe
a viable implementation. I have some thoughts on that, let me know if you are
interested!
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.no<mailto:hans.ekkehard.plesser@nmbu.no>
Home
http://arken.nmbu.no/~plesser
From: Maryada Maryada <er.maryada(a)gmail.com>
Date: Tuesday, 7 November 2023 at 23:43
To: NEST User Mailing List <users(a)nest-simulator.org>
Subject: [NEST Users] Re: Replay Poisson input
Thanks Hans,
That's what I am doing now but I have a noise generator connected too.
On Tue, Nov 7, 2023 at 4:01 PM Hans Ekkehard Plesser
<hans.ekkehard.plesser@nmbu.no<mailto:hans.ekkehard.plesser@nmbu.no>> wrote:
I assume you want to run the simulation in a loop and provide the same Poisson input for
every round through the loop? If the Poisson input is the only randomness in your
simulation, i.e., you have no noise generators, no neurons with probabilistic spike
generation or the like, then you could reset the nest random number seed for each round.
In this case, you should use one seed value for the build phase (assuming you use some
probabilistic connection rule) and then a different seed for the noise:
nest.rng_seed = 123
nest.Create( ... )
nest.Connect( ... )
for sim_round in range(10):
nest.rng_seed = 456
nest.Simulate(1000)
I believe this should work, but please test carefully before using this approach, I might
have overlooked something.
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.no<mailto:hans.ekkehard.plesser@nmbu.no>
Home
http://arken.nmbu.no/~plesser
From: Maryada Maryada <er.maryada@gmail.com<mailto:er.maryada@gmail.com>>
Date: Tuesday, 7 November 2023 at 19:35
To: NEST User Mailing List
<users@nest-simulator.org<mailto:users@nest-simulator.org>>
Subject: [NEST Users] Replay Poisson input
Dear NEST Users,
Is there an easy way to replay the poisson input other than saving spike timings and using
spike_generator to replay.
--
Thanks and Regards
Maryada
_______________________________________________
NEST Users mailing list --
users@nest-simulator.org<mailto:users@nest-simulator.org>
To unsubscribe send an email to
users-leave@nest-simulator.org<mailto:users-leave@nest-simulator.org>
--
Thanks and Regards
Maryada