https://github.com/arbor-sim/arbor-sonata

SONATA for Arbor

https://github.com/arbor-sim/arbor-sonata

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords from Contributors

hip modern-cpp mpi neuroscience
Last synced: 11 months ago · JSON representation

Repository

SONATA for Arbor

Basic Info
  • Host: GitHub
  • Owner: arbor-sim
  • Language: C++
  • Default Branch: master
  • Size: 8.19 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • Open Issues: 3
  • Releases: 0
Created over 7 years ago · Last pushed almost 3 years ago
Metadata Files
Readme

readme.md

SONATA for Arbor: ☕ Arbata

This project builds ☕ Arbata: it executes Sonata models with the Arbor simulator. Point arbata at a simulation_config.json and let us know what happened 😄.

Build the runner and unit tests

Optional: Clone and build the arbor library in the install-arbor directory

Have Arbor installed somewhere, e.g. /home/you/.local. Alternatively:

$ cd install-arbor $ ./install-local.sh

Generate unit test input (hdf5 files)

Make sure you have h5py installed. Make sure to delete existing files if regenerating, otherwise you seem to end with corrupted h5 files. $ cd test/unit/inputs $ python generate/gen_edges.py $ python generate/gen_nodes.py $ python generate/gen_spikes.py

Generate example input (hdf5 files)

Make sure you have h5py installed. Make sure to delete existing files if regenerating, otherwise you seem to end with corrupted h5 files. $ cd example/network $ python generate/gen_edges.py $ python generate/gen_nodes.py $ cd ../inputs $ python generate/gen_spikes.py

Enter the correct paths

  • The paths have to be hard coded (for now)
  • The following files need to be modified
    • example/circuit_config.json
    • example/network/edge_types.csv
    • example/network/node_types.csv
    • example/simulation_config.json

Build the sonata library, unit tests and example

Make sure you have an hdf5 development package installed, e.g. libhdf5-dev. $ mkdir build && cd build $ cmake .. -Darbor_DIR=/absolute/path/to/install-arbor/install/lib/cmake/arbor -DCMAKE_BUILD_TYPE=release && make -j4

Run the unit tests

$ ./build/bin/unit

Run the example

$ ./build/bin/arbata example/simulation_config.json

Expected outcome of running the example:
  • 2492 spikes generated
  • Output spikes report: output_spikes.h5
  • Voltage and current probe reports: voltage_report.h5 and current_report.h5

Code org

  • sonata/
    • contains the library, also libsonata.
  • test/
    • Unit tests for libsonata
  • arbata/
    • contains the ☕ Arbata application.
  • example/
    • contains an example Sonata simulation.

Developer notes

  • class sonata_recipe: public arb::recipe, in sonata_recipe.hpp

    • takes as arg
    • main entry point to setting up a Sonata simulation, see example.cpp.
  • class sonata_cell -> arb::cablecell, in `sonatacell.hpp`

    • not meant for direct use.
  • class model_desc, in data_management_lib.hpp

    • member of sonata_recipe
    • place where most parsing takes place.
  • arbata.cpp

    • An example user of libsonata and the end-user tool for Sonata-on-Arbor simulation.

Owner

  • Name: Arbor Neural Network Simulation Library
  • Login: arbor-sim
  • Kind: organization
  • Email: contact@arbor-sim.org

Arbor – a morphologically-detailed neural network simulation library for contemporary high-performance computing architectures

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 35
  • Total Committers: 3
  • Avg Commits per committer: 11.667
  • Development Distribution Score (DDS): 0.114
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Nora Abi Akar n****r@g****m 31
Thorsten Hater 2****r 2
Brent Huisman b****n 2

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 9
  • Total pull requests: 47
  • Average time to close issues: 11 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 0.22
  • Average comments per pull request: 0.0
  • Merged pull requests: 45
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • brenthuisman (7)
Pull Request Authors
  • noraabiakar (21)
  • thorstenhater (2)
  • brenthuisman (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/sonata.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
3rd-party/json/docs/mkdocs/requirements.txt pypi
  • Babel ==2.10.3
  • GitPython ==3.1.27
  • Jinja2 ==3.1.2
  • Markdown ==3.3.0
  • MarkupSafe ==2.1.1
  • PyYAML ==6.0
  • Pygments ==2.12.0
  • certifi ==2022.6.15
  • charset-normalizer ==2.1.0
  • click ==8.1.3
  • csscompressor ==0.9.5
  • future ==0.18.2
  • ghp-import ==2.1.0
  • gitdb ==4.0.9
  • htmlmin ==0.1.12
  • httplib2 ==0.20.4
  • idna ==3.3
  • importlib-metadata ==4.12.0
  • joblib ==1.1.0
  • jsmin ==3.0.1
  • livereload ==2.6.3
  • lunr ==0.6.2
  • markdown-include ==0.7.0
  • mergedeep ==1.3.4
  • mkdocs ==1.3.1
  • mkdocs-git-revision-date-localized-plugin ==1.1.0
  • mkdocs-material ==8.3.9
  • mkdocs-material-extensions ==1.0.3
  • mkdocs-minify-plugin ==0.5.0
  • mkdocs-redirects ==1.0.5
  • mkdocs-simple-hooks ==0.1.5
  • nltk ==3.7
  • packaging ==21.3
  • plantuml ==0.3.0
  • plantuml-markdown ==3.6.3
  • pymdown-extensions ==9.5
  • pyparsing ==3.0.9
  • python-dateutil ==2.8.2
  • pytz ==2022.1
  • pyyaml_env_tag ==0.1
  • regex ==2022.7.25
  • requests ==2.28.1
  • six ==1.16.0
  • smmap ==5.0.0
  • tornado ==6.2
  • tqdm ==4.64.0
  • urllib3 ==1.26.11
  • watchdog ==2.1.9
  • zipp ==3.8.1
3rd-party/json/tools/serve_header/requirements.txt pypi
  • PyYAML ==6.0
  • watchdog ==2.1.7