(a biophysical description at single neuron level of membrane excitability.)
The attached code is to simulate and successively visualize the different patterns presented in figure 2 from:
A unified physiological framework of transitions between seizures, sustained ictal activity and depolarization block at the single neuron level
by: Depannemaecker D, Ivanov A, Lillo D, Spek L, Bernard C, Jirsa V.
available at: BioRxiv 2020:2020.10.23.352021. https://doi.org/10.1101/2020.10.23.352021