Skip to main content

Simulation and Neural network Analysis Productivity layer

Project description

|banner|

Blue Brain SNAP

Blue Brain Simulation and Neural network Analysis Productivity layer (Blue Brain SNAP).

Blue Brain SNAP is a Python library for accessing BlueBrain circuit models represented in SONATA <https://github.com/AllenInstitute/sonata/blob/master/docs/SONATA_DEVELOPER_GUIDE.md>__ format.

|build_status| |coverage|

Installation

Blue Brain SNAP can be installed using pip::

pip install bluepysnap

Usage

There are two main interface classes provided by Blue Brain SNAP:

|circuit| corresponds to the static structure of a neural network, that is:

  • node positions and properties,
  • edge positions and properties, and,
  • detailed morphologies.

|simulation| corresponds to the dynamic data for a neural network simulation, including:

  • spike reports,
  • soma reports, and,
  • compartment reports.

Most of Blue Brain SNAP methods return pandas <https://pandas.pydata.org>__ Series or DataFrames, indexed in a way to facilitate combining data from different sources (that is, by node or edge IDs).

Among other dependencies, Blue Brain SNAP relies on Blue Brain Project provided libraries:

  • libsonata <https://github.com/BlueBrain/libsonata>__, for accessing SONATA files
  • NeuroM <https://github.com/BlueBrain/NeuroM>__, for accessing detailed morphologies

Tools

Blue Brain SNAP also provides a SONATA circuit validator for verifying circuits.

The validation includes:

  • integrity of the circuit config file.
  • existence of the different node/edges files and components directories.
  • presence of the "sonata required" field for node/edges files.
  • the correctness of the edge to node population/ids bindings.
  • existence of the morphology files for the nodes.

This functionality is provided by either the cli function:

.. code-block:: shell

bluepysnap validate my/circuit/path/circuit_config.json

Or a python free function:

.. code-block:: python3

from bluepysnap.circuit_validation import validate
errors = validate("my/circuit/path/circuit_config.json")

Acknowledgements

This project/research has received funding from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 785907 (Human Brain Project SGA2).

The Blue Brain Project would like to thank Dr Eilif Muller <https://github.com/markovg>_, the author of the precursor to Blue Brain SNAP, for his invaluable insights and contributions

License

Blue Brain SNAP is licensed under the terms of the GNU Lesser General Public License version 3. Refer to COPYING.LESSER <https://github.com/BlueBrain/snap/blob/master/COPYING.LESSER>__ and COPYING <https://github.com/BlueBrain/snap/blob/master/COPYING>__ for details.

.. |build_status| image:: https://travis-ci.com/BlueBrain/snap.svg?branch=master :target: https://travis-ci.com/BlueBrain/snap :alt: Build Status

.. |coverage| image:: https://codecov.io/github/BlueBrain/snap/coverage.svg?branch=master :target: https://codecov.io/github/BlueBrain/snap?branch=master :alt: codecov.io

.. substitutions .. |banner| image:: doc/source/_images/BlueBrainSNAP.jpg .. |circuit| replace:: Circuit .. |simulation| replace:: Simulation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bluepysnap-0.3.0.tar.gz (38.2 kB view details)

Uploaded Source

File details

Details for the file bluepysnap-0.3.0.tar.gz.

File metadata

  • Download URL: bluepysnap-0.3.0.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.6.7

File hashes

Hashes for bluepysnap-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b46018192b80d978209610407afb95b10d1ff85ccf5beacb8b785dabb4a4b9be
MD5 02c99dbcd55dfdd735b00122ebaddcce
BLAKE2b-256 13cebd8060334a37de2dc66dc78212d5b2416392a0b1fbe58e68d6063f0975e0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page