Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG

The optically pumped magnetometer (OPM) based magnetoencephalography (MEG) system offers advantages such as flexible layout and wearability. However, the position instability or jitter of OPM sensors can result in bad channels and segments, which significantly impede subsequent preprocessing and ana...

Full description

Saved in:
Bibliographic Details
Main Authors: Fulong Wang, Yujie Ma, Tianyu Gao, Yue Tao, Ruonan Wang, Ruochen Zhao, Fuzhi Cao, Yang Gao, Xiaolin Ning
Format: Article
Language:English
Published: Elsevier 2025-02-01
Series:NeuroImage
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S1053811924004932
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832590929616175104
author Fulong Wang
Yujie Ma
Tianyu Gao
Yue Tao
Ruonan Wang
Ruochen Zhao
Fuzhi Cao
Yang Gao
Xiaolin Ning
author_facet Fulong Wang
Yujie Ma
Tianyu Gao
Yue Tao
Ruonan Wang
Ruochen Zhao
Fuzhi Cao
Yang Gao
Xiaolin Ning
author_sort Fulong Wang
collection DOAJ
description The optically pumped magnetometer (OPM) based magnetoencephalography (MEG) system offers advantages such as flexible layout and wearability. However, the position instability or jitter of OPM sensors can result in bad channels and segments, which significantly impede subsequent preprocessing and analysis. Most common methods directly reject or interpolate to repair these bad channels and segments. Direct rejection leads to data loss, and when the number of sensors is limited, interpolation using neighboring sensors can cause significant signal distortion and cannot repair bad segments present in all channels. Therefore, most existing methods are unsuitable for OPM-MEG systems with fewer channels. We introduce an automatic bad segments and bad channels repair method for OPM-MEG, called Repairbads. This method aims to repair all bad data and reduce signal distortion, especially capable of automatically repairing bad segments present in all channels simultaneously. Repairbads employs Riemannian Potato combined with joint decorrelation to project out artifact components, achieving automatic bad segment repair. Then, an adaptive algorithm is used to segment the signal into relatively stable noise data chunks, and the source-estimate-utilizing noise-discarding algorithm is applied to each chunk to achieve automatic bad channel repair. We compared the performance of Repairbads with the Autoreject method on both simulated and real auditory evoked data, using five evaluation metrics for quantitative assessment. The results demonstrate that Repairbads consistently outperforms across all five metrics. In both simulated and real OPM-MEG data, Repairbads shows better performance than current state-of-the-art methods, reliably repairing bad data with minimal distortion. The automation of this method significantly reduces the burden of manual inspection, promoting the automated processing and clinical application of OPM-MEG.
format Article
id doaj-art-02e271c3aaeb4a20a97e25c9c4b8ef1b
institution Kabale University
issn 1095-9572
language English
publishDate 2025-02-01
publisher Elsevier
record_format Article
series NeuroImage
spelling doaj-art-02e271c3aaeb4a20a97e25c9c4b8ef1b2025-01-23T05:26:20ZengElsevierNeuroImage1095-95722025-02-01306120996Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEGFulong Wang0Yujie Ma1Tianyu Gao2Yue Tao3Ruonan Wang4Ruochen Zhao5Fuzhi Cao6Yang Gao7Xiaolin Ning8Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, ChinaKey Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, ChinaKey Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, ChinaKey Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, ChinaKey Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, China; Corresponding authors at: Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China.Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, ChinaKey Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, China; School of Engineering Medicine, Beihang University, Beijing, 100191, China; Corresponding authors at: Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China.Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, ChinaKey Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China; Hangzhou Institute of Extremely-Weak Magnetic Field Major National Science and Technology Infrastructure, Hangzhou, 310051, China; State Key Laboratory of Traditional Chinese Medicine Syndrome/Health Construction Center, The Second Affiliated Hospital of Guangzhou University of Chinese Medicine, Guangzhou, 510120, China; Hefei National Laboratory, Hefei, 230088, China; Corresponding authors at: Key Laboratory of Ultra-Weak Magnetic Field Measurement Technology, Ministry of Education, School of Instrumentation and Optoelectronic Engineering, Beihang University, 100191, Beijing, China.The optically pumped magnetometer (OPM) based magnetoencephalography (MEG) system offers advantages such as flexible layout and wearability. However, the position instability or jitter of OPM sensors can result in bad channels and segments, which significantly impede subsequent preprocessing and analysis. Most common methods directly reject or interpolate to repair these bad channels and segments. Direct rejection leads to data loss, and when the number of sensors is limited, interpolation using neighboring sensors can cause significant signal distortion and cannot repair bad segments present in all channels. Therefore, most existing methods are unsuitable for OPM-MEG systems with fewer channels. We introduce an automatic bad segments and bad channels repair method for OPM-MEG, called Repairbads. This method aims to repair all bad data and reduce signal distortion, especially capable of automatically repairing bad segments present in all channels simultaneously. Repairbads employs Riemannian Potato combined with joint decorrelation to project out artifact components, achieving automatic bad segment repair. Then, an adaptive algorithm is used to segment the signal into relatively stable noise data chunks, and the source-estimate-utilizing noise-discarding algorithm is applied to each chunk to achieve automatic bad channel repair. We compared the performance of Repairbads with the Autoreject method on both simulated and real auditory evoked data, using five evaluation metrics for quantitative assessment. The results demonstrate that Repairbads consistently outperforms across all five metrics. In both simulated and real OPM-MEG data, Repairbads shows better performance than current state-of-the-art methods, reliably repairing bad data with minimal distortion. The automation of this method significantly reduces the burden of manual inspection, promoting the automated processing and clinical application of OPM-MEG.http://www.sciencedirect.com/science/article/pii/S1053811924004932Magnetoencephalography (MEG)Optically Pumped Magnetometers (OPM)PreprocessingAutomatic repairBad segments and bad channels
spellingShingle Fulong Wang
Yujie Ma
Tianyu Gao
Yue Tao
Ruonan Wang
Ruochen Zhao
Fuzhi Cao
Yang Gao
Xiaolin Ning
Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG
NeuroImage
Magnetoencephalography (MEG)
Optically Pumped Magnetometers (OPM)
Preprocessing
Automatic repair
Bad segments and bad channels
title Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG
title_full Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG
title_fullStr Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG
title_full_unstemmed Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG
title_short Repairbads: An automatic and adaptive method to repair bad channels and segments for OPM-MEG
title_sort repairbads an automatic and adaptive method to repair bad channels and segments for opm meg
topic Magnetoencephalography (MEG)
Optically Pumped Magnetometers (OPM)
Preprocessing
Automatic repair
Bad segments and bad channels
url http://www.sciencedirect.com/science/article/pii/S1053811924004932
work_keys_str_mv AT fulongwang repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT yujiema repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT tianyugao repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT yuetao repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT ruonanwang repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT ruochenzhao repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT fuzhicao repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT yanggao repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg
AT xiaolinning repairbadsanautomaticandadaptivemethodtorepairbadchannelsandsegmentsforopmmeg