BrainPy documentation#
BrainPy is a highly flexible and extensible framework targeting on the general-purpose Brain Dynamics Programming (BDP).
Installation#
# python 3.9-3.11
pip install -U brainpy[cpu] # windows, linux, macos
pip install -U brainpy[cuda12] -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
pip install -U brainpy[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
For more information, please see installation section.
Learn more#
Note
BrainPy is still an experimental research project. APIs may be changed over time. Please always keeps in mind what BrainPy version you are using.
Note
Starting from our experimental BrainPy package, a better and mature ecosystem for brain dynamics programming is emerging. Please see the Brain Dynamics Programming Ecosystem for more details.
If you are heavily using BrainPy, please consider using brainstate for a more stable, efficient, concise, and powerful experience.
brainstate is and will be active maintained and developed by our team. We highly recommend transferring your code to brainstate for a better performance.