bluepyemodel


Namebluepyemodel JSON
Version 0.0.113 PyPI version JSON
download
home_pagehttps://github.com/BlueBrain/BluePyEModel
SummaryBlue Brain Python Electrical Modeling Pipeline
upload_time2024-05-16 07:31:45
maintainerNone
docs_urlNone
authorBlue Brain Project, EPFL
requires_python>=3.9
licenseApache-2.0
keywords computational neuroscience simulation analysis parameters blue brain project
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |banner|

BluePyEModel: Blue Brain Python Electrical Modeling Pipeline
============================================================

+----------------+------------+
| Latest Release | |pypi|     |
+----------------+------------+
| Documentation  | |docs|     |
+----------------+------------+
| License        | |license|  |
+----------------+------------+
| Build Status 	 | |tests|    |
+----------------+------------+
| Coverage       | |coverage| |
+----------------+------------+
| Citation       | |zenodo|   |
+----------------+------------+


Introduction
------------

The Blue Brain Python Electrical Modeling Pipeline (BluePyEModel) is a Python package facilitating the configuration and execution of electrical neuron model (e-model) building tasks. It covers tasks such as extraction of electrical features from electrophysiology data, e-model parameters optimisation and model validation. As such, it builds on top of `eFEL <https://github.com/BlueBrain/eFEL>`_, `BluePyEfe <https://github.com/BlueBrain/BluePyEfe>`_ and `BluePyOpt <https://github.com/BlueBrain/BluePyOpt>`_.

For a general overview and example of electrical model building, please refer to the paper: `A universal workflow for creation, validation and generalization of detailed neuronal models <https://doi.org/10.1016/j.patter.2023.100855>`_.

Note that this package only covers e-model building based on patch-clamp data and that it relies solely on the `NEURON <https://www.neuron.yale.edu/neuron/>`_ simulator.

Citation
--------

When you use the BluePyEModel software or method for your research, we ask you to cite the following publication (this includes poster presentations):

.. code-block::

    @software{bluepyemodel_zenodo,
      author       = {Damart, Tanguy and Jaquier, Aurélien and Arnaudon, Alexis and Mandge, Darshan and Van Geit, Werner and Kilic, Ilkan},
      title        = {BluePyEModel},
      month        = aug,
      year         = 2023,
      publisher    = {Zenodo},
      doi          = {8283490},
      url          = {https://doi.org/10.5281/zenodo.8283490}
    }

Installation
------------

BluePyEModel can be pip installed with the following command:

.. code-block:: python

    pip install bluepyemodel[all]

If you do not wish to install all dependencies, specific dependencies can be selected by indicating which ones to install between brackets in place of 'all' (If you want multiple dependencies, they have to be separated by commas). The available dependencies are:

* luigi
* all

To get started with the E-Model building pipeline
-------------------------------------------------

.. image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/images/pipeline.png
   :alt: E-Model building pipeline

This section presents a general picture of the pipeline. For a detailed picture and how to use it, please refer to the `example directory <https://github.com/BlueBrain/BluePyEModel/tree/main/examples/L5PC/>`_ and its `README <https://github.com/BlueBrain/BluePyEModel/tree/main/examples/L5PC/README.rst>`_.

The pipeline is divided in 6 steps:

* ``extraction``: extracts e-features from ephys recordings and averages the results e-feature values along the requested targets.
* ``optimisation``: builds a NEURON cell model and optimises its parameters using as targets the efeatures computed during e-feature extraction.
* ``storage of the model``: reads the results of the extraction and stores the models (best set of parameters) in a local json file.
* ``validation``: reads the models and runs the optimisation protocols and/or validation protocols on them. The e-feature scores obtained on these protocols are then passed to a validation function that decides if the model is good enough.
* ``plotting``: reads the models and runs the optimisation protocols and/or validation protocols on them. Then, plots the resulting traces along the e-feature scores and parameter distributions.
* ``exporting``: read the parameter of the best models and export them in files that can be used either in NEURON or for circuit building.

These six steps are to be run in order as for example validation cannot be run if no models have been stored. Steps "validation", "plotting" and "exporting" are optional. Step "extraction" can also be optional in the case where the file containing the protocols and optimisation targets is created by hand or if it is obtained from an older project.

Schematics of BluePyEModel classes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/images/classes_schema.png
   :alt: Schematics of BluePyEModel classes

Acknowledgment
~~~~~~~~~~~~~~

This work 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. This work has been partially funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP), and by the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. 720270 (Human Brain Project SGA1) and No. 785907 (Human Brain Project SGA2) and by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).

Copyright
~~~~~~~~~

Copyright (c) 2023 Blue Brain Project/EPFL

This work is licensed under `Apache 2.0 <https://www.apache.org/licenses/LICENSE-2.0.html>`_


.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
                :target: https://github.com/BlueBrain/BluePyEModel/blob/main/LICENSE.txt

.. |tests| image:: https://github.com/BlueBrain/BluepyEModel/actions/workflows/test.yml/badge.svg
   :target: https://github.com/BlueBrain/BluepyEModel/actions/workflows/test.yml
   :alt: CI

.. |pypi| image:: https://img.shields.io/pypi/v/bluepyemodel.svg
               :target: https://pypi.org/project/bluepyemodel/
               :alt: latest release

.. |docs| image:: https://readthedocs.org/projects/bluepyemodel/badge/?version=latest
               :target: https://bluepyemodel.readthedocs.io/
               :alt: latest documentation

.. |coverage| image:: https://codecov.io/github/BlueBrain/BluePyEModel/coverage.svg?branch=main
                   :target: https://codecov.io/gh/BlueBrain/bluepyemodel
                   :alt: coverage

.. |zenodo| image:: https://zenodo.org/badge/651152332.svg
                 :target: https://zenodo.org/badge/latestdoi/651152332

..
    The following image is also defined in the index.rst file, as the relative path is
    different, depending from where it is sourced.
    The following location is used for the github README
    The index.rst location is used for the docs README; index.rst also defined an end-marker,
    to skip content after the marker 'substitutions'.

.. substitutions
.. |banner| image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/source/logo/BluePyEModelBanner.jpg

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/BlueBrain/BluePyEModel",
    "name": "bluepyemodel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "computational neuroscience, simulation, analysis, parameters, Blue Brain Project",
    "author": "Blue Brain Project, EPFL",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d7/3e/ff8957138f90c169e387d7a4aa8d7c3020ee00241eaba1883e4897c68d88/bluepyemodel-0.0.113.tar.gz",
    "platform": null,
    "description": "|banner|\n\nBluePyEModel: Blue Brain Python Electrical Modeling Pipeline\n============================================================\n\n+----------------+------------+\n| Latest Release | |pypi|     |\n+----------------+------------+\n| Documentation  | |docs|     |\n+----------------+------------+\n| License        | |license|  |\n+----------------+------------+\n| Build Status \t | |tests|    |\n+----------------+------------+\n| Coverage       | |coverage| |\n+----------------+------------+\n| Citation       | |zenodo|   |\n+----------------+------------+\n\n\nIntroduction\n------------\n\nThe Blue Brain Python Electrical Modeling Pipeline (BluePyEModel) is a Python package facilitating the configuration and execution of electrical neuron model (e-model) building tasks. It covers tasks such as extraction of electrical features from electrophysiology data, e-model parameters optimisation and model validation. As such, it builds on top of `eFEL <https://github.com/BlueBrain/eFEL>`_, `BluePyEfe <https://github.com/BlueBrain/BluePyEfe>`_ and `BluePyOpt <https://github.com/BlueBrain/BluePyOpt>`_.\n\nFor a general overview and example of electrical model building, please refer to the paper: `A universal workflow for creation, validation and generalization of detailed neuronal models <https://doi.org/10.1016/j.patter.2023.100855>`_.\n\nNote that this package only covers e-model building based on patch-clamp data and that it relies solely on the `NEURON <https://www.neuron.yale.edu/neuron/>`_ simulator.\n\nCitation\n--------\n\nWhen you use the BluePyEModel software or method for your research, we ask you to cite the following publication (this includes poster presentations):\n\n.. code-block::\n\n    @software{bluepyemodel_zenodo,\n      author       = {Damart, Tanguy and Jaquier, Aur\u00e9lien and Arnaudon, Alexis and Mandge, Darshan and Van Geit, Werner and Kilic, Ilkan},\n      title        = {BluePyEModel},\n      month        = aug,\n      year         = 2023,\n      publisher    = {Zenodo},\n      doi          = {8283490},\n      url          = {https://doi.org/10.5281/zenodo.8283490}\n    }\n\nInstallation\n------------\n\nBluePyEModel can be pip installed with the following command:\n\n.. code-block:: python\n\n    pip install bluepyemodel[all]\n\nIf you do not wish to install all dependencies, specific dependencies can be selected by indicating which ones to install between brackets in place of 'all' (If you want multiple dependencies, they have to be separated by commas). The available dependencies are:\n\n* luigi\n* all\n\nTo get started with the E-Model building pipeline\n-------------------------------------------------\n\n.. image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/images/pipeline.png\n   :alt: E-Model building pipeline\n\nThis section presents a general picture of the pipeline. For a detailed picture and how to use it, please refer to the `example directory <https://github.com/BlueBrain/BluePyEModel/tree/main/examples/L5PC/>`_ and its `README <https://github.com/BlueBrain/BluePyEModel/tree/main/examples/L5PC/README.rst>`_.\n\nThe pipeline is divided in 6 steps:\n\n* ``extraction``: extracts e-features from ephys recordings and averages the results e-feature values along the requested targets.\n* ``optimisation``: builds a NEURON cell model and optimises its parameters using as targets the efeatures computed during e-feature extraction.\n* ``storage of the model``: reads the results of the extraction and stores the models (best set of parameters) in a local json file.\n* ``validation``: reads the models and runs the optimisation protocols and/or validation protocols on them. The e-feature scores obtained on these protocols are then passed to a validation function that decides if the model is good enough.\n* ``plotting``: reads the models and runs the optimisation protocols and/or validation protocols on them. Then, plots the resulting traces along the e-feature scores and parameter distributions.\n* ``exporting``: read the parameter of the best models and export them in files that can be used either in NEURON or for circuit building.\n\nThese six steps are to be run in order as for example validation cannot be run if no models have been stored. Steps \"validation\", \"plotting\" and \"exporting\" are optional. Step \"extraction\" can also be optional in the case where the file containing the protocols and optimisation targets is created by hand or if it is obtained from an older project.\n\nSchematics of BluePyEModel classes\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/images/classes_schema.png\n   :alt: Schematics of BluePyEModel classes\n\nAcknowledgment\n~~~~~~~~~~~~~~\n\nThis work was supported by funding to the Blue Brain Project, a research center of the \u00c9cole polytechnique f\u00e9d\u00e9rale de Lausanne (EPFL), from the Swiss government\u2019s ETH Board of the Swiss Federal Institutes of Technology. This work has been partially funded by the European Union Seventh Framework Program (FP7/2007\u00ad2013) under grant agreement no. 604102 (HBP), and by the European Union\u2019s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. 720270 (Human Brain Project SGA1) and No. 785907 (Human Brain Project SGA2) and by the EBRAINS research infrastructure, funded from the European Union\u2019s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).\n\nCopyright\n~~~~~~~~~\n\nCopyright (c) 2023 Blue Brain Project/EPFL\n\nThis work is licensed under `Apache 2.0 <https://www.apache.org/licenses/LICENSE-2.0.html>`_\n\n\n.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n                :target: https://github.com/BlueBrain/BluePyEModel/blob/main/LICENSE.txt\n\n.. |tests| image:: https://github.com/BlueBrain/BluepyEModel/actions/workflows/test.yml/badge.svg\n   :target: https://github.com/BlueBrain/BluepyEModel/actions/workflows/test.yml\n   :alt: CI\n\n.. |pypi| image:: https://img.shields.io/pypi/v/bluepyemodel.svg\n               :target: https://pypi.org/project/bluepyemodel/\n               :alt: latest release\n\n.. |docs| image:: https://readthedocs.org/projects/bluepyemodel/badge/?version=latest\n               :target: https://bluepyemodel.readthedocs.io/\n               :alt: latest documentation\n\n.. |coverage| image:: https://codecov.io/github/BlueBrain/BluePyEModel/coverage.svg?branch=main\n                   :target: https://codecov.io/gh/BlueBrain/bluepyemodel\n                   :alt: coverage\n\n.. |zenodo| image:: https://zenodo.org/badge/651152332.svg\n                 :target: https://zenodo.org/badge/latestdoi/651152332\n\n..\n    The following image is also defined in the index.rst file, as the relative path is\n    different, depending from where it is sourced.\n    The following location is used for the github README\n    The index.rst location is used for the docs README; index.rst also defined an end-marker,\n    to skip content after the marker 'substitutions'.\n\n.. substitutions\n.. |banner| image:: https://raw.githubusercontent.com/BlueBrain/BluePyEModel/main/doc/source/logo/BluePyEModelBanner.jpg\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Blue Brain Python Electrical Modeling Pipeline",
    "version": "0.0.113",
    "project_urls": {
        "Homepage": "https://github.com/BlueBrain/BluePyEModel"
    },
    "split_keywords": [
        "computational neuroscience",
        " simulation",
        " analysis",
        " parameters",
        " blue brain project"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3045f559cfb734b3ca21d7d143a6cf3748a1bd2f0c5130cefc8d924b85f943b3",
                "md5": "c645c2702a756bb9063f60a837f03ce9",
                "sha256": "fd5e774100fadc992910f44b2b9bd6201450920eec58e4ef91071d361758d3a1"
            },
            "downloads": -1,
            "filename": "bluepyemodel-0.0.113-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c645c2702a756bb9063f60a837f03ce9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 9572384,
            "upload_time": "2024-05-16T07:31:42",
            "upload_time_iso_8601": "2024-05-16T07:31:42.204772Z",
            "url": "https://files.pythonhosted.org/packages/30/45/f559cfb734b3ca21d7d143a6cf3748a1bd2f0c5130cefc8d924b85f943b3/bluepyemodel-0.0.113-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d73eff8957138f90c169e387d7a4aa8d7c3020ee00241eaba1883e4897c68d88",
                "md5": "701880ba935ba1d188ac08ef26ff05ba",
                "sha256": "7e525313e0d3fd2e4afa080f9c7f13cd268c4da28c0014bfbf608b6601dcd301"
            },
            "downloads": -1,
            "filename": "bluepyemodel-0.0.113.tar.gz",
            "has_sig": false,
            "md5_digest": "701880ba935ba1d188ac08ef26ff05ba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 10191346,
            "upload_time": "2024-05-16T07:31:45",
            "upload_time_iso_8601": "2024-05-16T07:31:45.507463Z",
            "url": "https://files.pythonhosted.org/packages/d7/3e/ff8957138f90c169e387d7a4aa8d7c3020ee00241eaba1883e4897c68d88/bluepyemodel-0.0.113.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-16 07:31:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BlueBrain",
    "github_project": "BluePyEModel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "bluepyemodel"
}
        
Elapsed time: 0.34573s