ENH: shift the input intensities to not have negative values