Skip to content

Releases

iEEGLAB 1.3.0

Choose a tag to compare

@amisepa amisepa released this 16 Nov 19:35

Install: unzip iEEGLAB1.3.0.zip into eeglab/plugins/ and restart EEGLAB. For raw recordings, also install MEF3 (Mayo MEF3), bva-io (BrainVision) or Biosig (EDF, BDF) from File > Manage EEGLAB extensions. iEEGLAB > Check installation lists anything missing.

Tutorials: one page per dataset, with the menus, what to expect at each step and the command line, also under Help > iEEGLAB documentation:
sEEG CCEP (ds004696),
ECoG CCEP (ds004080),
FieldTrip tutorial data (SubjectUCI29),
re-referencing schemes compared (ds004696),
CARLA on its authors' data (ds004977).

New

  • Frequency analysis: power spectra and time-frequency power (Hann windows, as FieldTrip's mtmconvol), with the power of a band (70-150 Hz by default) over time and on the brain.
  • Band-power statistics: each contact's band power in a window tested against its own baseline over epochs (sign-flip permutation, false discovery rate).
  • FieldTrip import: Import FieldTrip epochs (.mat) reads FieldTrip epochs and electrode positions.
  • Bipolar and custom montages in iEEG re-referencing, with the same pairs as FieldTrip's bipolar montage per lead.
  • Brain surfaces chosen once (Choose brain surfaces), then used by every brain figure.
  • Validation scripts (validation/): every method against its authors' code or published results (FieldTrip, CRP, ER-detect, CARLA, ICA re-referencing), and the six re-referencing schemes against the published CRP of ds004696.
  • Documentation in EEGLAB's Help menu: the tutorial pages, the menu-by-menu walkthrough, the tutorial script and the help of each menu's function.

Changed

  • ICA re-referencing scales the component weights as FieldTrip does by default, as in its authors' script; the normalized scaling is an option.
  • The CRP window takes the samples after 15 ms up to 1 s, as the authors' code.
  • "Lowest-variance subset" (Ojeda Valencia et al., 2023) forms its blocks of 64 channels as the paper's code, and warns when applied after a baseline.
  • CARLA, CRP and its permutation test are much faster, with the same results.

Fixed

  • Importing a MEF3 recording by a relative path crashed MATLAB on macOS and Linux.
  • Epochs could start one sample early for decimal event onsets.
  • EEGLAB prints the plugin version at start-up again.

Full list: CHANGELOG.md.

iEEGLAB 1.2.0

Choose a tag to compare

@amisepa amisepa released this 25 Oct 20:16

Install: unzip iEEGLAB1.2.0.zip into eeglab/plugins/ and restart EEGLAB. For raw recordings, also install MEF3 (Mayo MEF3) or bva-io (BrainVision) from File > Manage EEGLAB extensions.

Step by step: the menus, with the window or figure to expect at each step, for the two small datasets that ship with the plugin and for the full OpenNeuro recordings (ds004696 sEEG, ds004080 ECoG).

Preprocessing without filters by default

  • No high-pass filter. The DC offset is removed by a per-trial baseline correction instead (median of -500 to -50 ms). A zero-phase high-pass rings around the stimulation artifact.
  • Line noise is removed by fitted sines, not a notch (ieeglab_line_noise). Sines at the line frequency are fitted to the data away from the pulses and subtracted. A notch spreads each response's own line-frequency content around the pulse. On the full ds004696 sub-02 recording, the trial average around the pulse changes by 0.21 uV RMS with the fit and by 1.93 uV with a notch. The notch is still available.
  • The stimulation artifact is blanked first.
  • Epochs run from -1 to 1 s.

New

  • Import raw recordings: Import raw recording reads MEF3, BrainVision, EDF or BDF with little memory, and shows its progress.
  • Heatmap: Plot average of all channels (heatmap) can be opened before and after re-referencing, to compare methods.
  • ICA re-referencing: method 'ica' in iEEG re-referencing, which is now its own step.
  • CRP of one site and contact: a new figure (ieeglab_plot_crp).
  • Connectivity matrix views: response, explained variance or latency.
  • Brains by coordinate space: brain figures use the participant's pial surfaces, or fsaverage's for fsaverage or MNI coordinates, read from coordsystem.json, and check that the contacts fit.
  • Non-brain channels: ECG and other channel types can be imported alongside the iEEG.

Closer to the reference analyses

  • CARLA: run as its authors run it on real CCEP data (sensitive cutoff, 2 contacts on each side of the stimulated pair left out).
  • CRP: window 15 to 1000 ms; correction across all pairs of a participant; the published t-test at tau_R with Benjamini-Yekutieli correction as an option.
  • N1: the default on ECoG, with negative peaks.
  • Repeatable results: a fixed random seed for the permutation tests and CARLA's bootstrap.
  • Validation on ds004696 sub-02: with the published preprocessing, the published CRP is reproduced exactly (tau_R identical for all 509 pairs). With iEEGLAB's defaults, the significance decision agrees for 83% of the published pairs, 89% with the published test.

Fixes

  • Works after EEGLAB's BIDS import.
  • No vistasoft needed (#8).
  • Fixed-fraction CAR variance (#9).
  • Re-referencing in its own dialog (#11).
  • MEF3 detected on all platforms.
  • Bad contacts, seizure-onset-zone contacts and their stimulation sites are handled consistently.

Full list in CHANGELOG.md.