Skip to content

Commit 883ca07

Browse files
committed
More rerun scripts
1 parent 52a1705 commit 883ca07

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ x86_64
2020
/ISN-nest-EI-0.gdf
2121
/pertinh.rate.*.dat
2222
/rates.png
23+
/exc2.rate.*.dat

runall_detailed.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
set -e
3+
# This script requires the repo https://github.com/OpenSourceBrain/SadehEtAl2017-InhibitionStabilizedNetworks
4+
# to be present in the directory ../SadehEtAl2017-InhibitionStabilizedNetworks
5+
6+
# This path is required for https://github.com/OpenSourceBrain/SadehEtAl2017-InhibitionStabilizedNetworks/blob/master/SpikingSimulationModels/defaultParams.py
7+
export PYTHONPATH=PYTHONPATH:../SadehEtAl2017-InhibitionStabilizedNetworks/SpikingSimulationModels
8+
9+
for i in `seq 100 100 4000`;
10+
do
11+
echo "==============================="
12+
echo "Running with seed: "$i
13+
python ISN.py -Detailed_Soma -perturbation -netpyne -seed:$i
14+
python to_gdf.py -detailed
15+
python3 ../SadehEtAl2017-InhibitionStabilizedNetworks/PyNN/analysis_perturbation_pynn.py .9 1000 -nogui -average -legend -detailed
16+
done

runall_hypercurrent.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
set -e
3+
# This script requires the repo https://github.com/OpenSourceBrain/SadehEtAl2017-InhibitionStabilizedNetworks
4+
# to be present in the directory ../SadehEtAl2017-InhibitionStabilizedNetworks
5+
6+
# This path is required for https://github.com/OpenSourceBrain/SadehEtAl2017-InhibitionStabilizedNetworks/blob/master/SpikingSimulationModels/defaultParams.py
7+
export PYTHONPATH=PYTHONPATH:../SadehEtAl2017-InhibitionStabilizedNetworks/SpikingSimulationModels
8+
9+
for i in `seq 100 100 4000`;
10+
do
11+
echo "==============================="
12+
echo "Running with seed: "$i
13+
python ISN.py -AllenCells -hyperA -netpyne -seed:$i
14+
python to_gdf.py
15+
python3 ../SadehEtAl2017-InhibitionStabilizedNetworks/PyNN/analysis_perturbation_pynn.py .9 1000 -nogui -average -legend
16+
done

0 commit comments

Comments
 (0)