Collection of useful python tools used in the Zwicker group.
densityplot
produced density plots from simulated data, optionally involving logarithmically scaled axes.
-
xlogx
calculates$x \log(x)$ with the correct limit for$x=0$ -
random_uniform_fixed_sum
samples uniformly distributed, positive numbers adding to 1