Parametric removal of hardware-induced square-like artifacts in EEG signals

Although Electroencephalography (EEG) is widely used in clinical and research settings, its practical utility is often limited by a low signal-to-noise ratio (SNR) alongside physiological and non-physiological artifacts. While most studies focus on biological contamination, this work addresses the complementary problem of EEG recordings corrupted by externally induced hardware artifacts. We propose a non-destructive parametric framework that successfully removes a low-frequency square-wave artifact introduced during acquisition, where conventional Blind Source Separation (BSS) and spatial filtering fail. Artifact parameters are estimated via a hybrid global-local optimization combining Particle Swarm Optimization (PSO) and Pattern Search (PS). After subtraction, residual transition outliers are detected via Median Absolute Deviation (MAD) and gradient criteria, and are corrected using a bidirectional Autoregressive (AR) cross-fading method fitted to adjacent clean data. The pipeline was validated on a cohort of 33 natively contaminated subjects alongside a controlled semi-synthetic benchmark of 4 clean EEG recordings subjected to artificial artifact injection. Quantitative evaluations confirm the method’s effectiveness, achieving an average 23– 26 dB attenuation of harmonics, a 12– 14 dB net spectral SNR improvement, and an 89– 93 % reduction in artificial inter-channel spectral coherence. Crucially, ground-truth validation demonstrates near-perfect time-domain waveform recovery (Pearson’s r > 0.93 on average) and negligible topographical distortion ( Δ Topo ≈ 0 μ V 2 / Hz ), while modifying less than 2 % of cortical temporal samples. These results position the proposed methodology as a robust, non-destructive alternative to blanket data rejection, enabling the recovery of heavily contaminated EEG recordings for downstream neurophysiological analysis.

Authors

Institutions

Publication Details

Journal
Computers in Biology and Medicine
Published
2026-12-02
DOI
https://doi.org/10.1016/j.compbiomed.2026.112107
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Parametric removal of hardware-induced square-like artifacts in EEG signals

Ana Maria Barbancho, Isabel Barbancho, Lorenzo J. Tardón, Sergio Guillén
Computers in Biology and Medicine
EEG and Brain-Computer Interfaces
article

Parametric removal of hardware-induced square-like artifacts in EEG signals

Ana Maria Barbancho, Isabel Barbancho, Lorenzo J. Tardón, Sergio Guillén
article en

Abstract

Although Electroencephalography (EEG) is widely used in clinical and research settings, its practical utility is often limited by a low signal-to-noise ratio (SNR) alongside physiological and non-physiological artifacts. While most studies focus on biological contamination, this work addresses the complementary problem of EEG recordings corrupted by externally induced hardware artifacts. We propose a non-destructive parametric framework that successfully removes a low-frequency square-wave artifact introduced during acquisition, where conventional Blind Source Separation (BSS) and spatial filtering fail. Artifact parameters are estimated via a hybrid global-local optimization combining Particle Swarm Optimization (PSO) and Pattern Search (PS). After subtraction, residual transition outliers are detected via Median Absolute Deviation (MAD) and gradient criteria, and are corrected using a bidirectional Autoregressive (AR) cross-fading method fitted to adjacent clean data. The pipeline was validated on a cohort of 33 natively contaminated subjects alongside a controlled semi-synthetic benchmark of 4 clean EEG recordings subjected to artificial artifact injection. Quantitative evaluations confirm the method’s effectiveness, achieving an average 23– 26 dB attenuation of harmonics, a 12– 14 dB net spectral SNR improvement, and an 89– 93 % reduction in artificial inter-channel spectral coherence. Crucially, ground-truth validation demonstrates near-perfect time-domain waveform recovery (Pearson’s r > 0.93 on average) and negligible topographical distortion ( Δ Topo ≈ 0 μ V 2 / Hz ), while modifying less than 2 % of cortical temporal samples. These results position the proposed methodology as a robust, non-destructive alternative to blanket data rejection, enabling the recovery of heavily contaminated EEG recordings for downstream neurophysiological analysis.

Computers in Biology and MedicineVol. 220
Universidad de Málaga (ES)
EEG and Brain-Computer Interfaces
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.

Laika access coming soon