{'fraction_non_alphanumeric': 0.03288888888888889, 'fraction_numerical': 0.012444444444444444, 'mean_word_length': 4.466019417475728, '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}}
Efficient RPM Method for Detecting R and S Waves of ECG Signals

This study proposes a simple and effective method, termed Relative Position Mapping (RPM) method, to detect the Q and S waves of an electrocardiogram (ECG) signal. This detection method employs the Finite-Impulse-Response (FIR) filter. The proposed RPM method consists of four procedures, (1) ECG signals under test are filtered by FIR and then their difference signal is obtained, (2) based on such difference signal, the search intervals for both Q and S waves are found, (3) the search intervals of both Q and S waves are mapped back to the original ECG signals under test, and (4) based on the R wave, both Q and S waves are detected. This study is examined by using 48 records from MIT-BIH arrhythmia database, each record is a 30-min ML-II ECG signals. Experimental results show that the average failed detection rate of the proposed RPM method is approximately 0.82% and their execution time is less than 1 minute for each 30-min record. The proposed RPM method is a simple and efficient detection method for detecting both R and S waves of ECG signals.