starting point for bachelorthesis
array to image does this on logscale now