Continuous delay synapse models

template<typename targetidentifierT>
class ContDelayConnection : public Connection<targetidentifierT>
#include <cont_delay_connection.h>

Name: cont_delay_synapse - Synapse type for continuous delays


cont_delay_synapse relaxes the condition that NEST only implements delays which are an integer multiple of the time step h. A continuous delay is decomposed into an integer part (delay_) and a double (delay_offset_) so that the actual delay is given by delay_*h - delay_offset_. This can be combined with off-grid spike times.



0 << /resolution 1.0 >> SetStatus

/sg /spike_generator << /precise_times true /spike_times [ 2.0 5.5 ] >> Create

/n  /iaf_psc_delta_ps Create def
/sd /spike_detector << /precise_times true /record_to [ /memory ] >> Create

/cont_delay_synapse << /weight 100. /delay 1.7 >> SetDefaults
sg n /cont_delay_synapse Connect
n sd Connect

10 Simulate

sd GetStatus /events/times :: ==   %  --> <. 3.7 7.2 .>


All delays set by the normal NEST Connect function will be rounded, even when using cont_delay_connection. To set non-grid delays, you must either

1) set the delay as synapse default, as in the example above 2) set the delay for each synapse after the connections have been created, e.g.,

sg n 100. 1.0 /cont_delay_synapse Connect << /source [ sg ] /synapse_model /cont_delay_synapse >> GetConnections { << /delay 1.7 >> SetStatus } forall

Alternative 1) is much more efficient, but all synapses then will have the same delay. Alternative 2) is slower, but allows individual delay values.

Continuous delays cannot be shorter than the simulation resolution.

Transmits: SpikeEvent, RateEvent, CurrentEvent, ConductanceEvent, DoubleDataEvent

FirstVersion: June 2007

Author: Abigail Morrison

SeeAlso: synapsedict, static_synapse, iaf_psc_alpha_ps

template<typename targetidentifierT>
class RateConnectionDelayed : public Connection<targetidentifierT>
#include <rate_connection_delayed.h>

Name: rate_connection_delayed - Synapse type for rate connections with delay.


rate_connection_delayed is a connector to create connections with delay between rate model neurons.

To create instantaneous rate connections please use the synapse type rate_connection_instantaneous.

Transmits: DelayedRateConnectionEvent



Hahne J, Dahmen D, Schuecker J, Frommer A, Bolten M, Helias M, Diesmann M (2017). Integration of continuous-time dynamics in a spiking neural network simulator. Frontiers in Neuroinformatics, 11:34. DOI:

Author: David Dahmen, Jan Hahne, Jannis Schuecker

SeeAlso: rate_connection_instantaneous, rate_neuron_ipn, rate_neuron_opn Class representing a delayed rate connection. A rate_connection_delayed has the properties weight, delay and receiver port.