Simulation code for the analysis of concurrent transmission in IEEE 802.15.4 wireless networks. This is the accompanying code to the technical report available at ArXiv; the full paper appeared in IEEE Transactions on Wireless Communications 13(12) (On the Reception of Concurrent Transmissions in Wireless Sensor Networks).
##Directories
src
: Python code for calculating the demodulator output of the receiverjulia
: re-implementation in Julia using@parallel
, awesomely fasterfigs
: matplotlib code used to generate some of the figures in the paper, to see how to use phitau.pycollision-viz
: re-implementation of the simulation code in JavaScript and the visualization applet code
###Dependencies
####Python
For the src
/figs
part, you need
- numpy/scipy
- matplotlib installation that supports TeX output (see the matplotlib help page)
####Julia
For julia
, you need
- a recent development version (v0.4) of Julia (from github)
- package NPZ (to read and write numpy data files)
- PyPlot (to call matplotlib from julia)
Run it like this to enable parallel execution on worker threads:
$ julia --depwarn=no -O -p [n_CPUs] gen_ser_contour.jl unif soft
###Example Outputs
####BER Contour Plot
Plot of the bit error rate that a sender experiences when time or phase offsets are present.
####MSK Waveform Plot
An example waveform of the physical signal when the sender employs the minimum shift keying modulation.