Hi everyone,
I’m excited to share Brian2 Web Simulation App, a browser-based interactive simulator for spiking neural networks built with Brian2 and Flask.
Goal/Idea: The main idea is to make neural modeling and simulation with Brian2 accessible and user-friendly, lowering the barrier for learning, teaching, and rapid prototyping in neuroscience.
Features:
- Multiple neuron models: LIF, Izhikevich, AdEx, and custom equations
- Network options: synaptic weights, connection probability, noise, and more
- Presets for common network scenarios
- Interactive (Plotly) and static (Matplotlib) plots
- Download simulation results as CSV or JSON
- Responsive, accessible UI
- Automatic cleanup of old output files
- And more…
How it works:
- Install dependencies:
pip install flask brian2 matplotlib pandas numpy plotly
- Run:
python app.py
- Open http://127.0.0.1:5000/ in your browser
You can configure neuron/network parameters, run simulations, visualize results, and download data, all from your browser.
Custom equations and reset/threshold rules are supported for advanced users.
Demo Screenshots:
Repo: https://github.com/Metanome/brian2sim-web
Feedback, suggestions, and contributions are welcome!
Let me know if you have questions or ideas for improvements.