Skip to content

Commit

Permalink
Update readme & images
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Oct 9, 2018
1 parent 8cd1c53 commit e3a9607
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
/PyNN/clean.sh
/PyNN/old*
/PyNN/rates.png
/PyNN/runall.sh
/PyNN/*.pyc
/PyNN/__pycache__
*.gv.png
7 changes: 6 additions & 1 deletion PyNN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This version of the network can run in PyNN using simulator NEST

To simulate activity (2000 cells total, with 0.75 of the inhibitory cells perturbed), and then plot result:
To simulate the activity of 2000 cells (1600 excitatory in red, 400 inhibitory in blue with 0.75 of the inhibitory cells (darker blue) perturbed), and then plot result:

```
python runNetwork.py nest .75 2000
Expand All @@ -20,5 +20,10 @@ python analysis_perturbation_pynn.py .1 2000

![0.1](test_0.1.png)

The script [runall.sh](runall.sh) will run 40 simulations and plot the average of these:


![40](rates.png)



Binary file modified PyNN/rates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions PyNN/runall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -e
for i in `seq 100 100 4000`;
do
echo "==============================="
echo "Running with seed: "$i

python runNetwork.py nest .75 1000 $i && python3 analysis_perturbation_pynn.py .75 1000 -nogui -average -legend

done
Binary file modified PyNN/test_0.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified PyNN/test_0.75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e3a9607

Please sign in to comment.