Digital Pulse‐Shape Analysis of Repetitive and Nonrepetitive Pulses