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.shin 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
Metadata
Release files for emodel-generalisation 0.2.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emodel_generalisation-0.2.14.tar.gz | 18.1 MB | Without provenance | Details for emodel_generalisation-0.2.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emodel_generalisation-0.2.14-py3-none-any.whl | Python 3 | none | any | Details for emodel_generalisation-0.2.14-py3-none-any.whl |
Total release size: 18.2 MB
Release files / emodel_generalisation-0.2.14.tar.gz
| Download URL | emodel_generalisation-0.2.14.tar.gz |
|---|---|
| Size | 18.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d83176402ae81f3563ac280b9333ad9333ef9c2608fb1af44de8ada4bfa5894
|
|
BLAKE2b-256 checksum How to use checksums |
f50dcb7d7e13adbfc490300858dbfeb02352ca262f2fc479b72fd9ed8200f69b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / emodel_generalisation-0.2.14-py3-none-any.whl
| Download URL | emodel_generalisation-0.2.14-py3-none-any.whl |
|---|---|
| Size | 134.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ef81e6484c39984d2fa076585dc95c3978c1c89009b69c8cd37d777ee750942
|
|
BLAKE2b-256 checksum How to use checksums |
ef1f8234a1d16c37facefd9baa204f1fa5e6f10be06222456071f75160631fc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for emodel-generalisation 0.2.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.