The Izhikevich neuron model
Chapter 5.2
Python demonstration
Imports:
import numpy as np
import matplotlib.pyplot as pltModel and simulation parameters for three response dynamics:
x = 5
y = 140
titles = ['Regular Spiking', 'Chattering', 'Fast spiking']
a = [0.02, 0.02, 0.1]
b = [0.2 , 0.2 , 0.2]
c = [-65, -50 , -65]
d = [8 , 2 , 2 ]
v0 = -70 # Resting potential [mV]
T = 200 # Simulation time [mSec]
dt = 0.25 # Simulation time interval [mSec]
time = np.arange(0, T + dt, dt) # Time arrayDefining the stimulus (a step function):
Simulating:
Plotting:
Resulted regular spiking dynamic:

Resulted chattering dynamic:

Resulted fast-spiking dynamic:

Last updated
Was this helpful?