BrainPy: A general platform for computational neuroscience and brain-inspired computation
Project description
![Logo](docs/images/logo.png)
[![LICENSE](https://anaconda.org/brainpy/brainpy/badges/license.svg)](https://github.com/PKU-NIP-Lab/BrainPy) [![Documentation](https://readthedocs.org/projects/brainpy/badge/?version=latest)](https://brainpy.readthedocs.io/en/latest/?badge=latest) [![Conda](https://anaconda.org/brainpy/brainpy-simulator/badges/version.svg)](https://anaconda.org/brainpy/brainpy-simulator) [![PyPI version](https://badge.fury.io/py/brainpy-simulator.svg)](https://badge.fury.io/py/brainpy-simulator)
Note: BrainPy is a project under development. More features are coming soon. Contributions are welcome.
## Why to use BrainPy
BrainPy is an integrative framework for computational neuroscience and brain-inspired computation. Three core functions are provided in BrainPy:
General numerical solvers for ODEs and SDEs (future will support DDEs and FDEs).
Neurodynamics simulation tools for brain objects, such like neurons, synapses and networks (future will support soma and dendrites).
Neurodynamics analysis tools for differential equations, including phase plane analysis and bifurcation analysis (future will support continuation analysis and sensitive analysis).
Moreover, BrainPy can effectively satisfy your basic requirements: 1. Easy to learn and use, because it is only based on Python language and has little dependency requirements; 2. Highly flexible and transparent, because it endows the users with the fully data/logic flow control; 3. Simulation can be guided with the analysis, because the same code in BrainPy can not only be used for simulation, but also for dynamics analysis; 4. Efficient running speed, because BrainPy is compatitable with the latest JIT compilers (or any other computing backend you prefer).
![Speed Comparison](docs/images/speed.png)
## Installation
Install BrainPy by using pip:
`bash > pip install --pre brainpy-simulator `
Install BrainPy by using conda:
`bash > conda install brainpy-simulator -c brainpy `
Install BrainPy from source:
`bash > pip install git+https://github.com/PKU-NIP-Lab/BrainPy > # or > pip install git+https://git.openi.org.cn/OpenI/BrainPy > # or > pip install -e git://github.com/PKU-NIP-Lab/BrainPy.git@V0.2.5 `
BrainPy is based on Python (>=3.7), and the following packages are required to be installed to use BrainPy:
NumPy >= 1.13
Matplotlib >= 3.2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for brainpy-simulator-1.0.0b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0257fa146c859432c4d4978c2efe1d154a052a8b4ba8330339e5299c0e2554 |
|
MD5 | 3c3e194b36bf898fa3f64e12560ed09c |
|
BLAKE2b-256 | a0059cf21e4ed588f98fc7583325c6c227d453fd19daac05f783a2efd56fc304 |