Generalisation of neuronal electrical models with MCMC
Project description
emodel-generalisation
Generalisation of neuronal electrical models on a morphological population with Markov Chain Monte-Carlo.
This code accompanies the paper:
Installation
This code can be installed via pip from pypi with
pip install emodel-generalisation
or from github with
git clone git@github.com:BlueBrain/emodel-generalisation.git
pip install .
Documentation
The documentation can be found here: https://emodel-generalisation.readthedocs.io/en/latest/
Code structure
This code contains several modules, the most important are:
- model contains an adapted version of BlueBrain/BluePyEmodel core functionalities for evaluating electrical models, built on top of BlueBrain/BluePyOpt
- tasks contains the luigi workflows to run MCMC, adapt and generalise electrical model
- bluecellulab_evaluator contains functions to compute currents with BlueBrain/BlueCelluLab and hoc files of models
- mcmc contains the code to run MCMC sampling of electrical models
- information contains some WIP code to compute information theory measures on sampled electrical models
Examples
We provide several examples of the main functionalities of the emodel-generalisation
code:
- run MCMC on a simple single compartment model in examples/mcmc/mcmc_singlecomp
- run MCMC on a simple multi-compartment model in examples/mcmc/mcmc_simple_multicomp
- run the entire generalisation worklow on a simplified version of the L5PC model of the paper in examples/workflow
- provide all the scripts necessary to reproduce the figures of the paper. For the scripts to run, one has to download the associated dataset on dataverse with the script
get_data.sh
in examples/paper_figures
Citation
When you use the emodel-generalisation
code or method for your research, we ask you to cite:
Arnaudon, A., Reva, M., Zbili, M., Markram, H., Van Geit, W., & Kanari, L. (2023). Controlling morpho-electrophysiological variability of neurons with detailed biophysical models. iScience, 2023.
To get this citation in another format, please use the Cite this repository
button in the sidebar of the code's github page.
Funding & Acknowledgment
The development of this code was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.
For license and authors, see LICENSE.txt
and AUTHORS.md
respectively.
Copyright 2022-2023 Blue Brain Project/EPFL
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 emodel_generalisation-0.2.13.tar.gz
.
File metadata
- Download URL: emodel_generalisation-0.2.13.tar.gz
- Upload date:
- Size: 18.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67f435d726fb8ee866e143096804d4a93f756c25d1be4d425358e0f73e23e1f9 |
|
MD5 | 2e5247d9ea69a5309919c4b202833249 |
|
BLAKE2b-256 | 89d05a1c04197593240c3452239d8e4e2e84cafff46254174b80b07ae5d4e368 |
File details
Details for the file emodel_generalisation-0.2.13-py3-none-any.whl
.
File metadata
- Download URL: emodel_generalisation-0.2.13-py3-none-any.whl
- Upload date:
- Size: 134.0 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 | 2f896608f73dd18efb714540b43dd64d03615e575288625fcd6f76a17ad41ea1 |
|
MD5 | ac74880f117fe246e1573b0f4d39cc52 |
|
BLAKE2b-256 | d91df5f5ee30fa8fa7d59e2c7a6cb43c4a75d89e9a8e99f693462b8392efda3e |