When building a network simulation, biophysically detailed electrical models (e-models) need to be tested for every morphology that is possibly used in the circuit.
E-models can e.g. be obtained using BluePyOpt by data-driven model parameter optimisation. Developing e-models can take a lot of time and computing resources. Therefore, these models are not reoptimized for every morphology in the network. Instead we want to test if an existing e-model matches that particular morphology `well enough'.
This process is called Cell Model Management (MM). It takes as input a morphology release, a circuit recipe and a set of e-models with some extra information. Next, it finds all possible (morphology, e-model)-combinations (me-combos) based on e-type, m-type, and layer as described by the circuit recipe, and calculates the scores for every combination. Finally, it writes out the resulting accepted me-combos to a database, and produces a report with information on the number of matches.
We are providing support using a chat channel on Gitter.
- Python 2.7+ or Python 3.6+
- pip 9.0+ (installed by default in newer versions of Python, make sure you upgrade pip to a version 9.0+)
- Neuron 7.4 (compiled with Python support)
- eFEL eFeature Extraction Library (automatically installed by pip)
- BluePyOpt (automatically installed by pip)
- NumPy (automatically installed by pip)
- pandas (automatically installed by pip)
- matplotlib (automatically installed by pip)
- sh (automatically installed by pip)
pip install bluepymm
NOTES:
- Make sure you are using the latest version of pip (at least >9.0). Otherwise the ipython dependency will fail to install correctly.
- Make sure you are using a new version of git (at least >=1.8). Otherwise some exceptions might be raised by the versioneer module.
An IPython notebook with a simple test example can be found in:
https://github.com/BlueBrain/BluePyMM/blob/master/notebook/BluePyMM.ipynb
The API documentation can be found on ReadTheDocs.
BluePyMM is licensed under the LGPL, unless noted otherwise, e.g., for external dependencies. See file LGPL.txt for the full license.
This work has been partially funded by the European Union Seventh Framework Programme (FP7/2007-2013) under grant agreement No. 604102 (HBP) and by the European Union’s Horizon 2020 Framework Programme for Research and Innovation under Grant Agreement No. 720270 (Human Brain Project SGA1).