-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from apdavison/300_pointneurons
Changes needed to run 300_pointneurons example with PyNN
- Loading branch information
Showing
6 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
"edge_types_file": "$NETWORK_DIR/external_internal_edge_types.csv" | ||
} | ||
] | ||
}, | ||
|
||
} | ||
} | ||
"target_simulator": "NEST" | ||
} |
4 changes: 2 additions & 2 deletions
4
examples/300_pointneurons/network/external_internal_edge_types.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
edge_type_id target_query source_query delay dynamics_params model_template | ||
100 ei=='e' * 2.0 ExcToExc.json static_synapse | ||
101 ei=='i' * 2.0 ExcToInh.json static_synapse | ||
100 ei=='e' * 2.0 ExcToExc.json nest:static_synapse | ||
101 ei=='i' * 2.0 ExcToInh.json nest:static_synapse |
8 changes: 4 additions & 4 deletions
8
examples/300_pointneurons/network/internal_internal_edge_types.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
edge_type_id target_query source_query delay dynamics_params model_template | ||
100 ei=='e' ei=='e' 2.0 ExcToExc.json static_synapse | ||
101 ei=='i' ei=='e' 2.0 ExcToInh.json static_synapse | ||
102 ei=='e' ei=='i' 2.0 InhToExc.json static_synapse | ||
103 ei=='i' ei=='i' 2.0 InhToInh.json static_synapse | ||
100 ei=='e' ei=='e' 2.0 ExcToExc.json nest:static_synapse | ||
101 ei=='i' ei=='e' 2.0 ExcToInh.json nest:static_synapse | ||
102 ei=='e' ei=='i' 2.0 InhToExc.json nest:static_synapse | ||
103 ei=='i' ei=='i' 2.0 InhToInh.json nest:static_synapse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from pyNN.serialization import import_from_sonata, load_sonata_simulation_plan | ||
import pyNN.nest as sim | ||
|
||
simulation_plan = load_sonata_simulation_plan("simulation_config.json") | ||
simulation_plan.setup(sim) | ||
net = import_from_sonata("circuit_config.json", sim) | ||
simulation_plan.execute(net) |