schedule_propagation_offset function

(Shortest import: from brian2.core.network import schedule_propagation_offset)

brian2.core.network.schedule_propagation_offset(net=None)[source]

Returns the minimal time difference for a post-synaptic effect after a spike. With the default schedule, this time difference is 0, since the thresholds slot precedes the synapses slot. For the GeNN device, however, a post-synaptic effect will occur in the following time step, this function therefore returns one dt.