{"title":"MEGAP: A Comprehensive Pipeline for Automatic Preprocessing of Large-Scale Magnetoencephalography Data.","authors":"Seyyed Erfan Mohammadi, Hasti Shabani, Mohammad Mahdi Begmaz, Narjes Soltani Dehaghani","doi":"10.1111/psyp.70109","DOIUrl":null,"url":null,"abstract":"<p><p>Magnetoencephalography (MEG) data are often contaminated by various noise and artifacts, necessitating meticulous preprocessing. However, no pipeline has comprehensively examined all aspects of the different types of MEG noise, nor has any automatic preprocessing pipeline ever been presented. The impracticality of performing visual inspections for the preprocessing of large-scale resting state datasets, combined with the absence of automation, hinders the ability to take advantage of such datasets, including increased generalizability. Additionally, the absence of a standardized sequence for MEG preprocessing steps affects the reproducibility of research studies. Our MEG Automatic Pipeline (MEGAP) can automatically reduce noise and artifacts and is the first pipeline that can be used to preprocess large-scale resting state MEG datasets. We developed this pipeline by integrating and sequencing recent algorithms for each preprocessing step, ensuring automated execution, standardization, and organized outputs. The key features of MEGAP include correcting head movements, removing line noise without applying a notch filter, annotating muscle artifacts, removing sensor and environmental noise, and automatically detecting artifact components in Independent Component Analysis (ICA). We validated our pipeline using simulated and experimental data from the Cambridge Centre for Aging and Neuroscience (Cam-CAN) dataset. Substantial improvements were achieved based on different evaluation criteria such as Normalized Mean Square Error (NMSE), correlation, and Signal to Noise Ratio (SNR). MEGAP provides a robust framework for MEG data preprocessing, significantly reducing the manual effort in preprocessing by automating the required steps, contributing to more consistent and reproducible neuroimaging research outcomes, and facilitating the analysis of large-scale MEG studies.</p>","PeriodicalId":20913,"journal":{"name":"Psychophysiology","volume":"62 7","pages":"e70109"},"PeriodicalIF":2.9000,"publicationDate":"2025-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychophysiology","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.1111/psyp.70109","RegionNum":2,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"NEUROSCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Magnetoencephalography (MEG) data are often contaminated by various noise and artifacts, necessitating meticulous preprocessing. However, no pipeline has comprehensively examined all aspects of the different types of MEG noise, nor has any automatic preprocessing pipeline ever been presented. The impracticality of performing visual inspections for the preprocessing of large-scale resting state datasets, combined with the absence of automation, hinders the ability to take advantage of such datasets, including increased generalizability. Additionally, the absence of a standardized sequence for MEG preprocessing steps affects the reproducibility of research studies. Our MEG Automatic Pipeline (MEGAP) can automatically reduce noise and artifacts and is the first pipeline that can be used to preprocess large-scale resting state MEG datasets. We developed this pipeline by integrating and sequencing recent algorithms for each preprocessing step, ensuring automated execution, standardization, and organized outputs. The key features of MEGAP include correcting head movements, removing line noise without applying a notch filter, annotating muscle artifacts, removing sensor and environmental noise, and automatically detecting artifact components in Independent Component Analysis (ICA). We validated our pipeline using simulated and experimental data from the Cambridge Centre for Aging and Neuroscience (Cam-CAN) dataset. Substantial improvements were achieved based on different evaluation criteria such as Normalized Mean Square Error (NMSE), correlation, and Signal to Noise Ratio (SNR). MEGAP provides a robust framework for MEG data preprocessing, significantly reducing the manual effort in preprocessing by automating the required steps, contributing to more consistent and reproducible neuroimaging research outcomes, and facilitating the analysis of large-scale MEG studies.
期刊介绍:
Founded in 1964, Psychophysiology is the most established journal in the world specifically dedicated to the dissemination of psychophysiological science. The journal continues to play a key role in advancing human neuroscience in its many forms and methodologies (including central and peripheral measures), covering research on the interrelationships between the physiological and psychological aspects of brain and behavior. Typically, studies published in Psychophysiology include psychological independent variables and noninvasive physiological dependent variables (hemodynamic, optical, and electromagnetic brain imaging and/or peripheral measures such as respiratory sinus arrhythmia, electromyography, pupillography, and many others). The majority of studies published in the journal involve human participants, but work using animal models of such phenomena is occasionally published. Psychophysiology welcomes submissions on new theoretical, empirical, and methodological advances in: cognitive, affective, clinical and social neuroscience, psychopathology and psychiatry, health science and behavioral medicine, and biomedical engineering. The journal publishes theoretical papers, evaluative reviews of literature, empirical papers, and methodological papers, with submissions welcome from scientists in any fields mentioned above.