Skip to main content

BrainModels: Brain models implemented with BrainPy

Project description


LICENSE Documentation PyPI version

BrainModels provides standard and canonical brain models (including various neurons, synapses, networks, and intuitive paper examples) which are implemented with BrainPy simulator. Moreover, we welcome your brain model implementations, and publish them through our GitHub homepage. In such a way, once your new model is implemented, it can be easily shared with other BrainPy users.

Currently, we provide the following standard models:

Neuron Models Synapse Models Learning Rules
Leaky integrate-and-fire model Alpha Synapse STDP
Exponential integrate-and-fire model AMPA / NMDA BCM rule
Quadratic integrate-and-fire GABAA / GABAB Oja's rule
Adaptive Exponential IF model Exponential Decay Synapse
Adaptive Quadratic IF model Difference of Two Exponentials
Generalized IF model Short-term plasticity
Izhikevich model Gap junction
Hodgkin-Huxley model Voltage jump
Morris-Lecar model
Hindmarsh-Rose model


Install BrainModels using pip:

> pip install brainmodels

Install from source code:

> pip install git+

BrainModels is based on Python (>=3.6), and the following packages need to be installed to use BrainModels:

  • brain-py >= 1.1.0

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brainmodels-0.4.1.tar.gz (49.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page