Binarises a given low frequency image such that it has mean lambda. :param mask: Low frequency image, usually the result of `make_low_freq_image` :param lam: Mean value of final mask :param in_shape: Shape of inputs :param max_soft: Softening value between 0 and 0.5 which smooths h
(mask, lam, in_shape, max_soft=0.0)
source not stored for this graph (policy: none)