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

Home http://arken.nmbu.no/~plesser

 

 

 

From: Maryada Maryada <er.maryada@gmail.com>
Date: Tuesday, 7 November 2023 at 19:35
To: NEST User Mailing List <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