correct spiketimes if timestart != 0
This commit is contained in:
parent
3d8dea561e
commit
2f76cefd3c
@ -299,7 +299,7 @@ def simulate_fast(rectified_stimulus_array, total_time_s, parameters: np.ndarray
|
||||
|
||||
if output_voltage[i] > threshold:
|
||||
output_voltage[i] = v_base
|
||||
spiketimes.append(i * step_size)
|
||||
spiketimes.append((i * step_size) + time_start)
|
||||
adaption[i] += delta_a / tau_a
|
||||
|
||||
return output_voltage, adaption, spiketimes, input_voltage
|
||||
|
Loading…
Reference in New Issue
Block a user