{'fraction_non_alphanumeric': 0.013590844062947067, 'fraction_numerical': 0.001430615164520744, 'mean_word_length': 5.476851851851852, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Quantitative Analysis of QRS Detection Algorithms Based on the First Derivative of the ECG

Accurate processing of electrocardiogram (ECG) signals requires a sensitive and robust QRS detection method. In this study, three methods are quantitatively compared using a similar algorithm structure but applying different transforms to the differentiated ECG. The three transforms used are the Hilbert transformer, the squaring function, and a second discrete derivative stage. The first two have been widely used in ECG and heart rate variability analysis while the second derivative method aims to explain the success of the Hilbert transform. The algorithms were compared in terms of the number of false positive and false negative detections produced for records of the MIT/BIH Arrhythmia Database. The Hilbert transformer and the squaring function both produced a sensitivity and positive predictivity of over 99%, though the squaring function had a lower overall detection error rate. The second derivative resulted in the highest overall detection error rate. Different algorithms performed better for diverse ECG characteristics; suggesting that an algorithm can be specified for different recordings, the algorithms can be combined based on each one's characteristics to determine a new more accurate method, or an additional detection stage can be added to reduce the number of false negatives