# Changes between Version 8 and Version 9 of ContinuousTimeSpiking

Show
Ignore:
Timestamp:
11/08/10 12:35:28 (3 years ago)
Comment:

Unmodified
Removed
Modified
• ## ContinuousTimeSpiking

v8 v9
4747
4848subplot(1,2,1)
49 plot(off[0], off[1],color='0.7',linewidth=7)
50 plot(on[0], on[1],'k')
49plot(off[0], off[1],color='0.7',linewidth=7, label='off-grid')
50plot(on[0], on[1],'k', label='on-grid')
5151
5252ylim(-0.5,21)

5454xlabel('time [ms]')
5555ylabel('V [mV]')
56legend()
5657
5758subplot(1,2,2)

5960plot(on[0],on[1],'k')
6061
61 ylim(-0.05,2)
62ylim(-0.05,2.1)
6263xlim(0,9)
63 xlabel('time [ms]'))
64xlabel('time [ms]')
6465ylabel('V [mV]')
6566

6768}}}
6869
70The gray curve shows the membrane potential excursion in response to an
71input spike arriving at the neuron at t=1.5ms (left panel, the right panel
72shows an enlargement at low voltages). The amplitude of the post-current
73has an unrealistically high value such that the threshold voltage for spike generation is
74crossed. The membrane potential is recorded in intervals of 1ms. Therefore the first
75non-zero value is measured at t=2ms. The threshold is crossed somewhere in the
76interval (3ms,4ms], resulting in a voltage of 0 at t=4ms. The membrane potential
77is clamped to 0 for 2ms, the refractory period. Therefore, the neuron recovers
78from refractoriness somewhere in the interval (5ms,6ms] and the next non-zero
79voltage is observed at t=6ms. The black curve shows the results of the same model
80now integrated with a grid constrained simulation scheme with a computation step size
81of 1ms. The input spike is mapped to the next grid position and therefore arrives at
82t=2ms. The first non-zero voltage is oberved at t=3ms. The output spike is emitted
83at t=4ms and this the time at which the membrane potential is reset. Consequently, the
84model neuron recovers from refractoriness at exactly t=6ms. The next non-zero
85membrane potential value is observed at t=7ms.
6986
70
71 TODO: figure, caption
87TODO: figure
7288
7389The following publication describes how the continuous time mode is implemented