Skip to content

Commit

Permalink
Add Sonata example (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkilic authored Feb 14, 2024
1 parent c70d471 commit 1c02c12
Show file tree
Hide file tree
Showing 58 changed files with 250,241 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .compile_mod.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

set -e

INSTALL_DIR=$1
MOD_DIR=$2

cd ${INSTALL_DIR}

echo "Building mod files"
rm -rf x86_64
nrnivmodl ${MOD_DIR} >nrnivmodl.log 2>&1
Binary file added examples/sonata-network/O1/POm/nodes.h5
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added examples/sonata-network/O1/VPM/nodes.h5
Binary file not shown.
Binary file not shown.
75 changes: 75 additions & 0 deletions examples/sonata-network/O1/circuit_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"manifest": {
"$BASE_DIR": "./"
},
"version": 2.3,
"components": {
"morphologies_dir": "",
"synaptic_models_dir": "",
"point_neuron_models_dir": "",
"mechanisms_dir": "",
"biophysical_neuron_models_dir": "",
"templates_dir": "",
"provenance": {
"atlas_dir": "$BASE_DIR/atlas"
}
},
"node_sets_file": "$BASE_DIR/node_sets.json",
"networks": {
"nodes": [{
"nodes_file": "$BASE_DIR/S1nonbarrel_neurons/nodes.h5",
"populations": {
"S1nonbarrel_neurons": {
"type": "biophysical",
"morphologies_dir": "",
"biophysical_neuron_models_dir": "$BASE_DIR/emodels_hoc",
"alternate_morphologies": {
"neurolucida-asc": "$BASE_DIR/morphologies/ascii"
}
}
}
},
{
"nodes_file": "$BASE_DIR/VPM/nodes.h5",
"populations": {
"VPM": {
"type": "virtual"
}
}
},
{
"nodes_file": "$BASE_DIR/POm/nodes.h5",
"populations": {
"POm": {
"type": "virtual"
}
}
}
],
"edges": [{
"edges_file": "$BASE_DIR/S1nonbarrel_neurons__S1nonbarrel_neurons__chemical/edges.h5",
"populations": {
"S1nonbarrel_neurons__S1nonbarrel_neurons__chemical": {
"type": "chemical"
}
}
},
{
"edges_file": "$BASE_DIR/VPM__S1nonbarrel_neurons__chemical/edges.h5",
"populations": {
"VPM__S1nonbarrel_neurons__chemical": {
"type": "chemical"
}
}
},
{
"edges_file": "$BASE_DIR/POm__S1nonbarrel_neurons__chemical/edges.h5",
"populations": {
"POm__S1nonbarrel_neurons__chemical": {
"type": "chemical"
}
}
}
]
}
}
Loading

0 comments on commit 1c02c12

Please sign in to comment.