Skip to content

About

An Introduction to Modeling Neuronal Dynamics - Borgers in python, Single Neuron Models, Mathematical Modeling, Computational Neuroscience, Hodgkin-Huxley Equations, Differential Equations, Brain Rhythms, Synchronization, Dynamics

Topics

Resources

Stars

55 stars

Watchers

1 watching

Forks

Repository files navigation

ModelingNeuralDynamics

Python and Brian2 examples for An Introduction to Modeling Neuronal Dynamics by Christoph Börgers.

PING gamma rhythm — chapter 30 Gamma coherence — chapter 38 PING network with STDP — chapter 40

Installation

pip install modelingneuraldynamics

To run notebooks from a source checkout:

uv sync --all-groups
uv run jupyter lab

See the Python guide and Brian2 setup and coverage guide for details. Brian2 notebooks cover representative examples from each chapter.

Chapters

Open the Python or Brian2 notebooks in Google Colab, or read the chapter guide. Chapters 2 and 6 have no examples in this repository; chapter 3 is Python only.

# Chapter Python (Colab) Brian2 (Colab) Guide
1 Modeling a Single Neuron Open in Colab Open in Colab Guide
3 The Classical HH ODEs Open in Colab — Guide
4 Numerical Solution of HH ODEs Open in Colab Open in Colab Guide
5 The Simple Model of Neurons in Rodent Brains Open in Colab Open in Colab Guide
7 Linear Integrate-and-Fire (LIF) Neurons Open in Colab Open in Colab Guide
8 Quadratic Integrate-and-Fire (QIF) and Theta Neurons Open in Colab Open in Colab Guide
9 Spike Frequency Adaptation Open in Colab Open in Colab Guide
10 The Slow-Fast Phase Plane Open in Colab Open in Colab Guide
11 The Saddle-Node Bifurcation Open in Colab Open in Colab Guide
12 Two-Dimensional Bifurcation Analysis Open in Colab Open in Colab Guide
13 Hopf Bifurcations Open in Colab Open in Colab Guide
14 Model Neurons of Bifurcation Type 2 Open in Colab Open in Colab Guide
15 Canard Explosions Open in Colab Open in Colab Guide
16 Model Neurons of Bifurcation Type 3 Open in Colab Open in Colab Guide
17 Frequency-Current Curves Open in Colab Open in Colab Guide
18 Bistability Resulting from Rebound Firing Open in Colab Open in Colab Guide
19 Bursting Open in Colab Open in Colab Guide
20 Chemical Synapses Open in Colab Open in Colab Guide
21 Gap Junctions Open in Colab Open in Colab Guide
22 A Wilson-Cowan Model of an Oscillatory E-I Network Open in Colab Open in Colab Guide
23 Entrainment by Excitatory Input Pulses Open in Colab Open in Colab Guide
24 Synchronization by Fast Recurrent Excitation Open in Colab Open in Colab Guide
25 Phase Response Curves (PRCs) Open in Colab Open in Colab Guide
26 Phase Locking of Two Oscillators Open in Colab Open in Colab Guide
27 Phase Locking with Delays Open in Colab Open in Colab Guide
28 Weakly Coupled Oscillators Open in Colab Open in Colab Guide
29 Stability of the Synchronous State Open in Colab Open in Colab Guide
30 The PING Model of Gamma Rhythms Open in Colab Open in Colab
More examples
Guide
31 ING Rhythms Open in Colab Open in Colab Guide
32 M-Current PING and Poisson PING Open in Colab Open in Colab Guide
33 M-Current PING and PINB Open in Colab Open in Colab Guide
34 Nested Gamma-Theta Rhythms Open in Colab Open in Colab Guide
35 Periodic Inhibition Open in Colab Open in Colab Guide
36 F-I Curves: Pulsed Excitation Open in Colab Open in Colab Guide
37 Thresholding in PING Open in Colab Open in Colab Guide
38 Gamma Coherence Open in Colab Open in Colab Guide
39 Short-Term Depression and Facilitation Open in Colab Open in Colab Guide
40 Spike-Timing-Dependent Plasticity (STDP) Open in Colab Open in Colab Guide

Book and original MATLAB code · License

About

An Introduction to Modeling Neuronal Dynamics - Borgers in python, Single Neuron Models, Mathematical Modeling, Computational Neuroscience, Hodgkin-Huxley Equations, Differential Equations, Brain Rhythms, Synchronization, Dynamics

Topics

Resources

Stars

55 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages