`bsb-core` is the backbone package contain the essential code of the BSB: A component
Project description
:closed_book: Read the documentation on https://bsb.readthedocs.io/en/latest
BSB: A component framework for neural modelling
Developed by the Department of Brain and Behavioral Sciences at the University of Pavia, the BSB is a component framework for neural modelling, which focusses on component declarations to piece together a model. The component declarations can be made in any supported configuration language, or using the library functions in Python. It offers parallel reconstruction and simulation of any network topology, placement and/or connectivity strategy.
Installation
The BSB requires Python 3.9+.
pip
Any package in the BSB ecosystem can be installed from PyPI through pip
. Most users
will want to install the main bsb framework:
pip install "bsb~=4.1"
Advanced users looking to control install an unconventional combination of plugins might be better of installing just this package, and the desired plugins:
pip install "bsb-core~=4.1"
Note that installing bsb-core
does not come with any plugins installed and the usually
available storage engines, or configuration parsers will be missing.
Developers
Developers best use pip's editable install. This creates a live link between the installed package and the local git repository:
git clone git@github.com:dbbs-lab/bsb-core
cd bsb
pip install -e .[dev]
pre-commit install
Usage
The scaffold framework is best used in a project context. Create a working directory for each of your modelling projects and use the command line to configure, reconstruct or simulate your models.
Creating a project
You can create a quickstart project using:
bsb new my_model --quickstart
cd my_model
Reconstructing a network
You can use your project to create reconstructions of your model, generating cell positions and connections:
bsb compile -p
This creates a network file and plots the network.
Simulating a network
The default project currently contains no simulation config.
Contributing
All contributions are very much welcome. Take a look at the contribution guide
Acknowledgements
This research has received funding from the European Union’s Horizon 2020 Framework Program for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3) and Specific Grant Agreement No. 785907 (Human Brain Project SGA2) and from Centro Fermi project “Local Neuronal Microcircuits” to ED. We acknowledge the use of EBRAINS platform and Fenix Infrastructure resources, which are partially funded from the European Union’s Horizon 2020 research and innovation programme through the ICEI project under the grant agreement No. 800858
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
Built Distribution
File details
Details for the file bsb_core-4.5.3.tar.gz
.
File metadata
- Download URL: bsb_core-4.5.3.tar.gz
- Upload date:
- Size: 185.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab2fa71e07f425d0ed82f44994bddf90a560bd17d6efad23095dba16db0708a |
|
MD5 | 5689f03e9734e9d9cc4944f8e5c0d346 |
|
BLAKE2b-256 | 92705ef46d6132cb29fe330c4c30b229c0b57c7d6ece89182f31b194bef7c80d |
File details
Details for the file bsb_core-4.5.3-py3-none-any.whl
.
File metadata
- Download URL: bsb_core-4.5.3-py3-none-any.whl
- Upload date:
- Size: 216.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4366751719865a04bcecda9afb19e4786a023c7e34e347ab5efd1400d553e104 |
|
MD5 | 7741a2eacaea6e0f407cbddce406815c |
|
BLAKE2b-256 | 21ad2d5c989496325264ba29ed92227a5167a0060f39dee858a0bb935ad938e1 |