Fully integrated Windows framework for source localization with MNE Python and FreeSurfer
There is a variety of software packages, toolboxes, or libraries for the analysis and processing of neurophysiological data such as EEG and MEG. Many of these solutions provide algorithms for both, sensor-space analysis and sourcespace analysis. Especially with the solutions that run on Windows mach...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
De Gruyter
2023-09-01
|
Series: | Current Directions in Biomedical Engineering |
Subjects: | |
Online Access: | https://doi.org/10.1515/cdbme-2023-1093 |
_version_ | 1797646342116343808 |
---|---|
author | Oppermann Hannes Wulf Simon Komosar Milana Haueisen Jens |
author_facet | Oppermann Hannes Wulf Simon Komosar Milana Haueisen Jens |
author_sort | Oppermann Hannes |
collection | DOAJ |
description | There is a variety of software packages, toolboxes, or libraries for the analysis and processing of neurophysiological data such as EEG and MEG. Many of these solutions provide algorithms for both, sensor-space analysis and sourcespace analysis. Especially with the solutions that run on Windows machines, it is noticeable that the step of the volume model generation is usually not included, since the state-ofthe- art software for this (FreeSurfer) is a Unix-based software and thus not available forWindows machines. Therefore, our goal was to develop a fully-integrated software solution for Windows machines, accessing all processing steps already implemented in an existing toolbox and using FreeSurfer in the same system. Due to its widespread use, we chose MNE Python as the basis for our fully integrated software solution. We used the Windows Subsystem for Linux to create a virtual Linux kernel for the FreeSurfer installation. To demonstrate the workflow, the libeep, and AutoReject libraries have been added. A 64-channel EEG recording during right-hand movement (ME) and imagination (MI) was used to test the implemented workflow. The developed framework consists of several modules within Python, mainly using existing scripts and functions. The library libeep was integrated to read the EEG data with the ‘.cnt’, eeprope format. AutoReject was used to automatically interpolate detected bad channels or to reject complete epochs. FreeSurfer was successfully integrated and customized Python scripts enabled the communication between MNE Python on a Windows machine and FreeSurfer on a virtual Linux kernel. With the above-mentioned EEG dataset, we performed source reconstruction and were able to show ERD/S patterns for both, ME and MI. Our new, fullyintegrated software framework can be used on Windows machines to perform a complete process of source reconstruction. |
first_indexed | 2024-03-11T15:01:15Z |
format | Article |
id | doaj.art-de14e0173aa746feab2e0af2ba3265c9 |
institution | Directory Open Access Journal |
issn | 2364-5504 |
language | English |
last_indexed | 2024-03-11T15:01:15Z |
publishDate | 2023-09-01 |
publisher | De Gruyter |
record_format | Article |
series | Current Directions in Biomedical Engineering |
spelling | doaj.art-de14e0173aa746feab2e0af2ba3265c92023-10-30T07:58:12ZengDe GruyterCurrent Directions in Biomedical Engineering2364-55042023-09-019137137410.1515/cdbme-2023-1093Fully integrated Windows framework for source localization with MNE Python and FreeSurferOppermann Hannes0Wulf Simon1Komosar Milana2Haueisen Jens3Department of Computer Science and Automation, Institute of Biomedical Engineering and Informatics, Technische Universität Ilmenau, Ilmenau, GermanyDepartment of Computer Science and Automation, Institute of Biomedical Engineering and Informatics, Technische Universität Ilmenau, Ilmenau, GermanyDepartment of Computer Science and Automation, Institute of Biomedical Engineering and Informatics, Technische Universität Ilmenau, Ilmenau, GermanyDepartment of Computer Science and Automation, Institute of Biomedical Engineering and Informatics, Technische Universität Ilmenau, Ilmenau, GermanyThere is a variety of software packages, toolboxes, or libraries for the analysis and processing of neurophysiological data such as EEG and MEG. Many of these solutions provide algorithms for both, sensor-space analysis and sourcespace analysis. Especially with the solutions that run on Windows machines, it is noticeable that the step of the volume model generation is usually not included, since the state-ofthe- art software for this (FreeSurfer) is a Unix-based software and thus not available forWindows machines. Therefore, our goal was to develop a fully-integrated software solution for Windows machines, accessing all processing steps already implemented in an existing toolbox and using FreeSurfer in the same system. Due to its widespread use, we chose MNE Python as the basis for our fully integrated software solution. We used the Windows Subsystem for Linux to create a virtual Linux kernel for the FreeSurfer installation. To demonstrate the workflow, the libeep, and AutoReject libraries have been added. A 64-channel EEG recording during right-hand movement (ME) and imagination (MI) was used to test the implemented workflow. The developed framework consists of several modules within Python, mainly using existing scripts and functions. The library libeep was integrated to read the EEG data with the ‘.cnt’, eeprope format. AutoReject was used to automatically interpolate detected bad channels or to reject complete epochs. FreeSurfer was successfully integrated and customized Python scripts enabled the communication between MNE Python on a Windows machine and FreeSurfer on a virtual Linux kernel. With the above-mentioned EEG dataset, we performed source reconstruction and were able to show ERD/S patterns for both, ME and MI. Our new, fullyintegrated software framework can be used on Windows machines to perform a complete process of source reconstruction.https://doi.org/10.1515/cdbme-2023-1093source localizationwindows ose/megpython |
spellingShingle | Oppermann Hannes Wulf Simon Komosar Milana Haueisen Jens Fully integrated Windows framework for source localization with MNE Python and FreeSurfer Current Directions in Biomedical Engineering source localization windows os e/meg python |
title | Fully integrated Windows framework for source localization with MNE Python and FreeSurfer |
title_full | Fully integrated Windows framework for source localization with MNE Python and FreeSurfer |
title_fullStr | Fully integrated Windows framework for source localization with MNE Python and FreeSurfer |
title_full_unstemmed | Fully integrated Windows framework for source localization with MNE Python and FreeSurfer |
title_short | Fully integrated Windows framework for source localization with MNE Python and FreeSurfer |
title_sort | fully integrated windows framework for source localization with mne python and freesurfer |
topic | source localization windows os e/meg python |
url | https://doi.org/10.1515/cdbme-2023-1093 |
work_keys_str_mv | AT oppermannhannes fullyintegratedwindowsframeworkforsourcelocalizationwithmnepythonandfreesurfer AT wulfsimon fullyintegratedwindowsframeworkforsourcelocalizationwithmnepythonandfreesurfer AT komosarmilana fullyintegratedwindowsframeworkforsourcelocalizationwithmnepythonandfreesurfer AT haueisenjens fullyintegratedwindowsframeworkforsourcelocalizationwithmnepythonandfreesurfer |