Nowadays continuous signal digitization becomes a standard procedure in experimental physics. Though, signal pileup separation at high count rate remains a problem. The article presents algorithms for detecting and extracting events based on shape of a single pulse. An example of applied use of the described algorithms is also given on the example of the Troitsk nu-mass experiment.