Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration