inhomogeneous_poisson_generator – Provides Poisson spike trains at a piecewise constant rate
============================================================================================
Description
+++++++++++
The inhomogeneous Poisson generator provides Poisson spike trains at a
piecewise constant rate to the connected node(s). The rate of the process
is changed at the specified times. The unit of the instantaneous rate
is spikes/s. By default, each target of the generator will receive
a different spike train.
.. include:: ../models/stimulation_device.rst
rate_times
Times at which rate changes (list of ms)
rate_values
Rate of Poisson spike train (list of spikes/s)
allow_offgrid_times
If false, spike times will be rounded to the nearest step if they
are less than tic/2 from the step, otherwise NEST reports an
error. If true, spike times are rounded to the nearest step if
within tic/2 from the step, otherwise they are rounded up to the
*end* of the step. Default: false
Set parameters from a stimulation backend
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The parameters in this stimulation device can be updated with input
coming from a stimulation backend. The data structure used for the
update holds one value for each of the parameters mentioned above.
The indexing is as follows:
0. rate_times
1. rate_values
Receives
++++++++
DataLoggingRequest
Sends
+++++
SpikeEvent
See also
++++++++
:doc:`Device `, :doc:`Generator `
Examples using this model
+++++++++++++++++++++++++
.. listexamples:: inhomogeneous_poisson_generator