Skip to content

Commit

Permalink
move awg simulations to root
Browse files Browse the repository at this point in the history
  • Loading branch information
bastibl committed May 31, 2016
1 parent ece3cbf commit c05497d
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 138 deletions.
2 changes: 2 additions & 0 deletions simulations/awgn/.gitignore
@@ -0,0 +1,2 @@
results/
sim.py
2 changes: 2 additions & 0 deletions utils/simulations/awgn/Makefile → simulations/awgn/Makefile
Expand Up @@ -18,11 +18,13 @@ results/all.csv: $(PCAPFILES)
%.pcap: sim.py
@echo $@
mkdir -p results
export GR_CONF_DEFAULT_MAX_MESSAGES=123
$(eval REPETITION=$(shell python -c "print \"$@\".split(\"_\")[1]"))
$(eval ENCODING=$(shell python -c "print \"$@\".split(\"_\")[2]"))
$(eval SNR=$(shell python -c "print \"$@\".split(\"_\")[3]"))
@echo REPETITION=$(REPETITION)
@echo ENCODING=$(ENCODING)
@echo SNR=$(SNR)
./sim.py --messages=$(MESSAGES) --encoding=$(ENCODING) --snr=$(SNR) --repetition=$(REPETITION)
#gdb -ex run -ex quit --args python ./sim.py --messages=$(MESSAGES) --encoding=$(ENCODING) --snr=$(SNR) --repetition=$(REPETITION)

File renamed without changes.
Binary file not shown.
File renamed without changes.

0 comments on commit c05497d

Please sign in to comment.