BrainPy is a flexible, efficient, and extensible framework for computational neuroscience and brain-inspired computation based on the Just-In-Time (JIT) compilation (built on top of JAX, Taichi, Numba, and others). It provides an integrative ecosystem for brain dynamics programming, including brain dynamics building, simulation, training, analysis, etc.
BrainPy is based on Python (>=3.8) and can be installed on Linux (Ubuntu 16.04 or later), macOS (10.12 or later), and Windows platforms.
For detailed installation instructions, please refer to the documentation: Quickstart/Installation
We provide a docker image for BrainPy. You can use the following command to pull the image:
$ docker pull brainpy/brainpy:latest
Then, you can run the image with the following command:
$ docker run -it --platform linux/amd64 brainpy/brainpy:latest
We provide a Binder environment for BrainPy. You can use the following button to launch the environment:
We are building an ecosystem for bain dynamics programming (BDP), evolving from our previously experimental BrainPy package.
The BDP ecosystem is a collection of tools, libraries, and frameworks that can be used to build brain dynamics models and applications.
The BDP ecosystem is designed to be modular, so you can use as much or as little of it as you need.
The details for this ecosystem please see: https://ecosystem-for-brain-dynamics.readthedocs.io/
We welcome contributions from the community, so if you have an idea for a new tool or library, please let us know! Please email us at: chao.brain@qq.com.
BrainPy is developed by a team in Neural Information Processing Lab at Peking University, China. Our team is committed to the long-term maintenance and development of the project.
If you are using brainpy
, please consider citing the corresponding papers.
We highlight the key features and functionalities that are currently under active development.
We also welcome your contributions (see Contributing to BrainPy).