ModelingNeuralDynamics
An Introduction to Modeling Neuronal Dynamics - Christoph Borgers in python
PING gamma rhythm · gamma coherence · PING network with STDP
Installation
The shared helper package used by some chapters is on PyPI:
pip install modelingneuraldynamics
What's supported
Chapters are ported from the book's original MATLAB programs to Python.
Every tracked chapter is now a single, tested chapterNN.ipynb notebook
that installs its own dependencies and opens directly in Colab.
- 38 / 38 tracked chapters converted to notebooks (✅)
- Chapters 2 and 6 have no Python example in the book.
Full chapter-by-chapter status (click to expand)
| # | Chapter | Status | Open |
|---|---|---|---|
| 1 | Modeling a Single Neuron | ✅ Notebook | |
| 3 | The Classical HH ODEs | ✅ Notebook | |
| 4 | Numerical Solution of HH ODEs | ✅ Notebook | |
| 5 | The Simple Model of Neurons in Rodent Brains | ✅ Notebook | |
| 7 | Linear Integrate-and-Fire (LIF) Neurons | ✅ Notebook | |
| 8 | Quadratic Integrate-and-Fire (QIF) and Theta Neurons | ✅ Notebook | |
| 9 | Spike Frequency Adaptation | ✅ Notebook | |
| 10 | The Slow-Fast Phase Plane | ✅ Notebook | |
| 11 | The Saddle-Node Bifurcation | ✅ Notebook | |
| 12 | Two-Dimensional Bifurcation Analysis | ✅ Notebook | |
| 13 | Hopf Bifurcations | ✅ Notebook | |
| 14 | Model Neurons of Bifurcation Type 2 | ✅ Notebook | |
| 15 | Canard Explosions | ✅ Notebook | |
| 16 | Model Neurons of Bifurcation Type 3 | ✅ Notebook | |
| 17 | Frequency-Current Curves | ✅ Notebook | |
| 18 | Bistability Resulting from Rebound Firing | ✅ Notebook | |
| 19 | Bursting | ✅ Notebook | |
| 20 | Chemical Synapses | ✅ Notebook | |
| 21 | Gap Junctions | ✅ Notebook | |
| 22 | A Wilson-Cowan Model of an Oscillatory E-I Network | ✅ Notebook | |
| 23 | Entrainment by Excitatory Input Pulses | ✅ Notebook | |
| 24 | Synchronization by Fast Recurrent Excitation | ✅ Notebook | |
| 25 | Phase Response Curves (PRCs) | ✅ Notebook | |
| 26 | Phase Locking of Two Oscillators | ✅ Notebook | |
| 27 | Phase Locking with Delays | ✅ Notebook | |
| 28 | Weakly Coupled Oscillators | ✅ Notebook | |
| 29 | Stability of the Synchronous State | ✅ Notebook | |
| 30 | The PING Model of Gamma Rhythms | ✅ Notebook | |
| 31 | ING Rhythms | ✅ Notebook | |
| 32 | M-Current PING and Poisson PING | ✅ Notebook | |
| 33 | M-Current PING and PINB | ✅ Notebook | |
| 34 | Nested Gamma-Theta Rhythms | ✅ Notebook | |
| 35 | Periodic Inhibition | ✅ Notebook | |
| 36 | F-I Curves: Pulsed Excitation | ✅ Notebook | |
| 37 | Thresholding in PING | ✅ Notebook | |
| 38 | Gamma Coherence | ✅ Notebook | |
| 39 | Short-Term Depression and Facilitation | ✅ Notebook | |
| 40 | Spike-Timing-Dependent Plasticity (STDP) | ✅ Notebook |
Running brian/ chapters on Colab
brian/ holds a separate, Brian2-based implementation, one notebook per
chapter. Every notebook there can also be opened directly in Google
Colab — click a chapter's badge below.
Introduction
This book is intended as a text for a one-semester course on Mathematical and Computational Neuroscience for upper-level undergraduate and beginning graduate students of mathematics, the natural sciences, engineering, or computer science. An undergraduate introduction to differential equations is more than enough mathematical background. Only a slim, high school-level background in physics is assumed, and none in biology.
Topics include models of individual nerve cells and their dynamics, models of networks of neurons coupled by synapses and gap junctions, origins and functions of population rhythms in neuronal networks, and models of synaptic plasticity.
An extensive online collection of Matlab programs generating the figures accompanies the book.
matlab code gathered from here
Python codes provided by contributors
See the practical Python chapter guides for the concepts, equations, example map, and expected results for every implemented chapter.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modelingneuraldynamics-1.1.0.tar.gz.
File metadata
- Download URL: modelingneuraldynamics-1.1.0.tar.gz
- Upload date:
- Size: 79.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22827dc508c02046dfbee755f291619978112a8633d1b4c432448fc112b6f317
|
|
| MD5 |
ef614e8826e5668ff4c28fa6aa99006c
|
|
| BLAKE2b-256 |
2dbb96b336e4f0f0eadb494aa15bed4c477dfb0543a09f4370bf36509732c22b
|
Provenance
The following attestation bundles were made for modelingneuraldynamics-1.1.0.tar.gz:
Publisher:
publish.yml on ITNG/ModelingNeuralDynamics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modelingneuraldynamics-1.1.0.tar.gz -
Subject digest:
22827dc508c02046dfbee755f291619978112a8633d1b4c432448fc112b6f317 - Sigstore transparency entry: 2456098635
- Sigstore integration time:
-
Permalink:
ITNG/ModelingNeuralDynamics@111276ede5efc15aabd3fa08a5dd4f882bcb0267 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/ITNG
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@111276ede5efc15aabd3fa08a5dd4f882bcb0267 -
Trigger Event:
push
-
Statement type:
File details
Details for the file modelingneuraldynamics-1.1.0-py3-none-any.whl.
File metadata
- Download URL: modelingneuraldynamics-1.1.0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec623e3fd2a5395de72b8edaaf842009b5d789fd6cd0346435e7f3bb42eb2c0
|
|
| MD5 |
002c99e6ded4f5eace09903b9ed48f1a
|
|
| BLAKE2b-256 |
68bb27ac5b350a48da871813435245dd7d9899f84ef7b73b6b025e55645a6296
|
Provenance
The following attestation bundles were made for modelingneuraldynamics-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on ITNG/ModelingNeuralDynamics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modelingneuraldynamics-1.1.0-py3-none-any.whl -
Subject digest:
2ec623e3fd2a5395de72b8edaaf842009b5d789fd6cd0346435e7f3bb42eb2c0 - Sigstore transparency entry: 2456098671
- Sigstore integration time:
-
Permalink:
ITNG/ModelingNeuralDynamics@111276ede5efc15aabd3fa08a5dd4f882bcb0267 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/ITNG
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@111276ede5efc15aabd3fa08a5dd4f882bcb0267 -
Trigger Event:
push
-
Statement type: