Skip to content

Tutorials

Yingqi-Huang0519 edited this page Dec 19, 2025 · 15 revisions

Import dataset and preparation

After importing your EEG data, go to Edit -> Channel locations, to import channel labels/locations (unless already done so). Make sure a) EEG channel labels (e.g. "Fp1", "Fz", etc without any trailing characters) or b) EEG channel locations (e.g. XYZ coordinates) are present in the EEG.chanlocs structure.

Using the interface

Parameters' setting and run the pipeline

Launch the GEDAI plugin. We recommend high-passing the data when GEDAI denoising (e.g. set the low-cut frequency = 0.5 Hz)

  • BEM model For the leadfield matrix type, depending on th above, a) use option "precomputed", for b) use option "interpolated".

  • Reject bad epochs If you prefer to reject very "bad" epochs during denoising (i.e. prevent GEDAI from cleaning them), they can be removed using their ENOVA (Explained Noise Variance), which is bounded between 0 and 1. The ENOVA is the variance explained of the noise removed by GEDAI, expressed as a proportion of the variance of the original EEG data. The default ENOVA threshold (e.g. 0.9) removes epochs with more than 90% noise variance, while a more agressive ENOVA threhold (e.g. 0.3) would remove all epochs > 30% noise.

Output

  • plot with option [n;d;o etc]

Using the command line

  • more information could be found in the GEDAI.m

Clone this wiki locally