Cardiac Magnetic R-wave Localization Based on a Modified Pan-Tompkins Algorithm
An improved Pan-Tompkins algorithm is proposed to address the insensitivity of traditional electrocardiogram(ECG)examination to the structure of the heart region and the difficulty in locating multi-cycle R-peaks in magnetocardiography(MCG)detection,with the aim of accurately locating R-waves and analyzing the MCG signal.By preprocessing the MCG and ECG signals,and using the Savitzky-Golay filter and LOF algorithm to process signals and detect anomalies,this method can accurately identify the position of R-waves.Using a finite element model inverse problem solving method,the current density distribution in-side the heart is inferred,and then the magnetic field map and pseudo-current density vector map are obtained.In a total of 7 348 cardiac cycles in 30 samples,the improved Pan-Tompkins algorithm successfully identified 7 321 R-waves with an accuracy of up to 99.63%.This method can be applied to R-wave identification and MCG pathological analysis,and is of great significance for studying the spatiotemporal evolution rules and mechanisms of cardiac electrical activity.
cardiac magnetic fieldR-peak localizationanomaly detectionsuperconducting quantum interferencetwo-dimensional current density distribution