summaryrefslogtreecommitdiff
path: root/model_input/topology/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'model_input/topology/Makefile')
-rw-r--r--model_input/topology/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/model_input/topology/Makefile b/model_input/topology/Makefile
new file mode 100644
index 0000000..22424b0
--- /dev/null
+++ b/model_input/topology/Makefile
@@ -0,0 +1,12 @@
+.PHONY: all
+all: if/1000_random
+
+if/%_random : ../../code/matlab/random_topo.m
+ ../../code/matlab/random_topo "num_neurons=$*; connection_density=0.1; inhibitory_fraction=0.2;" 1>/dev/null 2> $@
+
+if/1_to_%:
+ rm -f $@
+ for I in $$(seq 1 $$(echo "$@" | egrep -o '[0-9]+$$')); do echo "0, $$I, 0.01, 0.001" >> $@; done
+
+dalif/%: if/%
+ cat $< | sed 's/^.*$$/0.0/' | paste -d"," $< - > $@
contact: Jan Huwald // Impressum