sinusoidal_poisson_generator – Generate sinusoidally modulated Poisson spike trains
===================================================================================
Description
+++++++++++
``sinusoidal_poisson_generator`` generates sinusoidally modulated Poisson spike
trains. By default, each target of the generator will receive a different
spike train.
The instantaneous rate of the process is given by
.. math::
f(t) = max(0, rate + amplitude \sin ( 2 \pi frequency t + phase
\cdot \pi/180 )) >= 0
.. note::
- If amplitude > rate, firing rate is cut off at zero. In this case, the mean
firing rate will be less than rate.
- The state of the generator is reset on calibration.
- The generator does not support precise spike timing.
- You can use the multimeter to sample the rate of the generator.
- The generator will create different trains if run at different
temporal resolutions.
By default, the generator sends a different spike train to each of its
targets. If /individual_spike_trains is set to false using either
SetDefaults or CopyModel before a generator node is created, the
generator will send the same spike train to all of its targets.
.. include:: ../models/stimulation_device.rst
rate
Mean firing rate in spikes/second, default: 0 s^-1
amplitude
Firing rate modulation amplitude in spikes/second, default: 0 s^-1
frequency
Modulation frequency, default: 0 Hz
phase
Modulation phase in degree [0-360], default: 0
individual_spike_trains
See note above, default: true
Setting 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
1. frequency
2. phase
3. amplitude
4. individual_spike_trains
Receives
++++++++
DataLoggingRequest
Sends
+++++
SpikeEvent
See also
++++++++
:doc:`Device `, :doc:`Generator `