DOC Better thresholding documentation