Hi,
You can run your simulation in steps:
# Setup code
# Layer defintions, connections and others.
# ......
# Step 1 rate = 100
nest.SetStatus(poisson_generator, {'rate': 100})
nest.Simulate(250)
# Step 2 rate = 50
nest.SetStatus(poisson_generator, {'rate': 50})
nest.Simulate(250)
The total simulation time is 500ms but you run the simulation in 250ms
steps, in each step you can make the changes.
Regards
Juan Manuel
On Mon, Apr 6, 2020 at 2:35 PM Nicolas Martorell <
martorellnicolas1995(a)gmail.com> wrote:
Dear all,
I'm new at NEST, and I've been trying to recreate a neural system from my
work. This involves an IAF neuron which receives two different stimuli
(they would be represented by inputs to the neuron - increases in
post-synaptic potential). Since these are stimuli I control in my
experiments, I need to be able to control their dynamics as the simulation
progresses (for example, one of the stimuli has an exponentially larger
effect as time progresses).
Therefore, it's important for me to be able to control the dynamic of
these inputs. However, I have not been able to find a way to do this. One
idea I've had is to set the amplitude of a noise-generator to change
according to a function of my choosing (going back to the previous example,
it would be an exponential function). But this would require for this
parameter to be changed mid-simulation, or to be assigned to a function and
interpreted by NEST.
Is any of this possible? Or alternatively, do you know of another way of
accomplishing this?
Thank you!
Nicolas
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org