Collection of useful python tools used in the Zwicker group.
densityplotproduced density plots from simulated data, optionally involving logarithmically scaled axes.
-
xlogxcalculates$x \log(x)$ with correct limit for$x=0$ and optional linearization -
random_uniform_fixed_sumsamples uniformly distributed, positive numbers adding to 1 -
geomspace_intprovides an (approximately) geometric sequence of integers