Comparison of moving average and Savitzky-Golay filters for noise removal in electrocardiograms

This paper presents the results of independently applying two filters to eliminate noise from an ECG signal: Moving Average Filter (MAF) and Savitzky-Golay Filter (S-G). These filters were applied to 45 ECGs from the Physionet database, all diagnosed with sinus bradycardia. A Python script was developed for automatic application of the filters using the following parameters: MAF was applied using three window sizes (7, 14, and 21), and S-G with a window size of 21 and polynomial orders of 7, 9, and 11. Results indicate that MAF performs best with a window size of 7. However, the S-G filter (21,11) significantly outperforms MAF in noise removal. Statistical parameters used were MSE (MAF = 0.0435; S-G = 0.0062), SNR (MAF = 16; S-G = 25), and Correlation Coefficient (MAF = 0.988; S-G = 0.9944); these values indicate that the S-G filter achieves better noise removal and minimal signal distortion, making it the best option for such processes. It is important to note that six filter configurations were compared, with S-G (21,11) being the best. A test hypothesis points out that there are meaningful differences between SG (21,11) and MAF (7).

Authors

Publication Details

Journal
International Journal of Engineering in Computer Science
Published
2025-01-01
DOI
https://doi.org/10.33545/26633582.2025.v7.i1c.173
Primary Topic
Fault Detection and Control Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparison of moving average and Savitzky-Golay filters for noise removal in electrocardiograms

S. M., Maestro Prieto J, Morales Barrón C, C. L.
International Journal of Engineering in Computer Science
Fault Detection and Control Systems
article

Comparison of moving average and Savitzky-Golay filters for noise removal in electrocardiograms

S. M., Maestro Prieto J, Morales Barrón C, C. L.
article en

Abstract

This paper presents the results of independently applying two filters to eliminate noise from an ECG signal: Moving Average Filter (MAF) and Savitzky-Golay Filter (S-G). These filters were applied to 45 ECGs from the Physionet database, all diagnosed with sinus bradycardia. A Python script was developed for automatic application of the filters using the following parameters: MAF was applied using three window sizes (7, 14, and 21), and S-G with a window size of 21 and polynomial orders of 7, 9, and 11. Results indicate that MAF performs best with a window size of 7. However, the S-G filter (21,11) significantly outperforms MAF in noise removal. Statistical parameters used were MSE (MAF = 0.0435; S-G = 0.0062), SNR (MAF = 16; S-G = 25), and Correlation Coefficient (MAF = 0.988; S-G = 0.9944); these values indicate that the S-G filter achieves better noise removal and minimal signal distortion, making it the best option for such processes. It is important to note that six filter configurations were compared, with S-G (21,11) being the best. A test hypothesis points out that there are meaningful differences between SG (21,11) and MAF (7).

International Journal of Engineering in Computer ScienceVol. 7(1)
Openalex Percentile: Top 89%
Fault Detection and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.