{"id":42132567,"url":"https://github.com/neurotuning/gedai-master","last_synced_at":"2026-02-16T09:27:34.222Z","repository":{"id":318895897,"uuid":"1046274217","full_name":"neurotuning/GEDAI-master","owner":"neurotuning","description":"GEDAI denoising plugin for the EEGLAB toolbox","archived":false,"fork":false,"pushed_at":"2026-01-18T18:49:33.000Z","size":19722,"stargazers_count":32,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-19T02:43:32.634Z","etag":null,"topics":["artifacts","denoising","eeg","eeglab","emg","eog","leadfield","noise"],"latest_commit_sha":null,"homepage":"https://cibm.ch/noise-cancelling-headphones-for-the-brain-how-a-new-algorithm-eliminates-noise-in-eeg-data/","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neurotuning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-28T12:53:44.000Z","updated_at":"2026-01-18T18:49:37.000Z","dependencies_parsed_at":"2025-10-17T04:12:14.101Z","dependency_job_id":"0eeaa4b3-8d26-42c4-955e-8efff3cb4fe1","html_url":"https://github.com/neurotuning/GEDAI-master","commit_stats":null,"previous_names":["neurotuning/gedai-master"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/neurotuning/GEDAI-master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurotuning%2FGEDAI-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurotuning%2FGEDAI-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurotuning%2FGEDAI-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurotuning%2FGEDAI-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurotuning","download_url":"https://codeload.github.com/neurotuning/GEDAI-master/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurotuning%2FGEDAI-master/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28782086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artifacts","denoising","eeg","eeglab","emg","eog","leadfield","noise"],"created_at":"2026-01-26T16:01:23.369Z","updated_at":"2026-01-26T16:01:24.090Z","avatar_url":"https://github.com/neurotuning.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GEDAI denoising plugin for EEGLAB\n\n\n\u003cimg width=\"300\" height=\"270\" alt=\"GEDAI-CIBM_logo\" src=\"https://github.com/user-attachments/assets/bc1775f6-c3c7-4273-a2ac-6ac855653039\" /\u003e\n\n\n## Generalized Eigenvalue De-Artifacting Instrument (GEDAI) \n**A)** EEG may be considered to be a mixture of electrical activities from a brain “signal” (sub)space, and one containing different types of non-cerebral noise or “artifacts”. This mixture may be “unmixed” by linear decomposition techniques (e.g. PCA or ICA) into separate \"components\" with individual source locations and respective time-courses. However, although PCA and ICA leverage statistical properties within mixed data to recover underlying sources, they are \"blind\" source separation methods, functioning without a priori knowledge of the original signals or their mixing process. GEDAI combines theoretical knowledge of the brain’s “signal” subspace with generalized eigenvalue decomposition (GEVD) to automatically separate brain and artifact components. Here, a theoretical model of EEG generation is used as an estimate of the brain’s “noise-free” subspace.\n\n\n![F1 large](https://github.com/user-attachments/assets/2cd836e0-1b22-4b64-8766-026ca1195633)\n\n\n**B)** Each data covariance matrix (dataCOV) is decomposed into source components with GEVD.  \n**C)** The GEVD uses a fixed theoretical reference matrix (refCOV) across all epochs, based on the leadfield matrix of an EEG forward model.  \n**D)** To determine the optimal threshold separating brain and artifactual subspaces, output EEG data is evaluated using the Signal \u0026 Noise Subspace Alignment Index (SENSAI). This is done by respectively maximising and minimizing the subspace similarities of the retained \"signal\" and removed \"noise\" with the refCOV. \n\n### Example videos of unsupervised GEDAI denoising\n\n\n[![Watch a few example videos](https://github.com/user-attachments/assets/6c4145c0-a67c-4575-bd83-e4a40d0dc871)](https://www.youtube.com/playlist?list=PLFwYJV7JHVFRmGTpW3y2MqkL_pYTitxpF)\n\n\n### Prerequisites\n\n* **MATLAB:** The GEDAI code is written for MATLAB.\n* **EEGLAB:** An interactive MATLAB toolbox for processing continuous and event-related EEG data. The plugin requires EEGLAB to be installed and running. You can find it at [sccn.ucsd.edu/eeglab/](https://sccn.ucsd.edu/eeglab/).\n\n### Installation\n\n1. Download the full GEDAI plugin as a zip file.\n2. Unzip and copy the 'GEDAI-master' folder into the \"plugins\" subdirectory of EEGlab.\n3. Launch MATLAB and then EEGLAB.\n\n### Basic instructions for use\n\nCheck out the [Wiki](https://github.com/neurotuning/GEDAI-master/wiki/).\n\n## 📜 Citation\n\nIf you use GEDAI in your research, please cite the original publication:\n\n*Return of the GEDAI: Unsupervised EEG Denoising based on Leadfield Filtering* (2025)  [bioRxiv]. [[DOI/Link to paper](https://www.biorxiv.org/content/10.1101/2025.10.04.680449v1)]  \nRos, T, Férat, V., Huang, Y., Colangelo, C., Kia S.M., Wolfers T., Vulliemoz, S., \u0026 Michela, A. \n\n\n## License\nYou may use this software under the terms of the PolyForm Noncommercial License 1.0.0 [LICENSE](LICENSE). This is suitable for personal use, research, or evaluation.\n\n**Commercial License**  \nIf you wish to use this software in a commercial or proprietary application without being bound by terms of the PolyForm Noncommercial License 1.0.0, you must purchase a commercial license. The core algorithms in this repository are the subject of a pending patent application, and a commercial license includes a grant for patent rights.  \n\n## 📧 Contact\n\nFor any questions or enquiries, please contact:\nTomas Ros - tomas.ros@unige.ch\n\n## Acknowledgements\nWe are gratefully supported by the Center for Biomedical Imaging (CIBM), the Swiss National Science Foundation (SNSF), and Unitec\n\n[![cibm](https://github.com/user-attachments/assets/0e67c6b9-0dae-415f-8321-6b8148862e85)](https://cibm.ch/)\n[![snf](https://github.com/user-attachments/assets/9db9e0b5-05dd-488e-9730-9abea2f7e8af)](https://www.snf.ch/en)\n[![unitec](https://github.com/user-attachments/assets/5417b534-6d3c-495a-8c24-70f65442221b)](https://www.unige.ch/unitec/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurotuning%2Fgedai-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurotuning%2Fgedai-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurotuning%2Fgedai-master/lists"}