diff options
author | Jan Huwald <jh@sotun.de> | 2012-05-07 19:53:27 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-05-07 19:53:27 (GMT) |
commit | 00b209240138660db1ded3ef3870023964ce6e4e (patch) | |
tree | 8ffaec780b060bdc478929aa714b8af2ee760671 /model_input/topology/Makefile |
Diffstat (limited to 'model_input/topology/Makefile')
-rw-r--r-- | model_input/topology/Makefile | 12 |
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"," $< - > $@ |