Shaping pulses by limiting; by thresholding; by slicing, i.e. combined limiting and thresholding {with an adaptive threshold}