Skip to content

pop_eegplot (Reject by inspection, data epochs and ICA): graphical and numerical parity with EEGLAB #793

Done

Description

@suraj-ranganath

EEGPrep checks each EEGLAB function on its own, in one issue, for both the window and the numbers (Arno, November 26, 2026). This issue is pop_eegplot, Reject by inspection, data epochs and ICA. It stays open until the window and the numbers are both acceptably close to EEGLAB's, even when a pull request is merged or closed.

Findings of the report for this function

Repro on develop (aa81d9ab): Enable advanced menus on eeglab_data_epochs_ica.set. Try Reject by inspection under both Reject data epochs and Reject data using ICA.

Done when: Start with a marked epoch on each route. Check retaining or replacing prior marks, marking only, rejecting marked epochs and cancelling before inspection. Compare the resulting epoch count, marks and history.

Files

Activity

  1. added
    function-parity
    on Nov 28, 2026
  2. claude commented on Nov 28, 2026

    @claude
    Contributor

    🤖 Plan:

    • Ask EEGLAB's two pre-browser questions (add to previous marks, default checked; reject marked trials, default unchecked) before opening the channel/component browser, and pass the answers as superpose/reject
    • Cancel aborts before the browser opens
    • Regression tests (tests/test_stream3_scroll_window.py) plus help/docs update
    • Open PR: [GUI] Ask pop_eegplot epoch options before Reject by inspection #803
    • CI green (Qt tests cannot run locally: libEGL.so.1 missing)

    Root cause: menu_actions.py passed fixed superpose=0, reject=1 for pop_eegplot:reject_data / reject_ica, skipping the nargin < 3 dialog in pop_eegplot.m. The dialog text and defaults were ported from memory of pop_eegplot.m (EEGLAB reference unavailable offline), so they need a check against an EEGLAB screenshot. This changes only the GUI, not the numbers; the epoch count, marks and history still need comparing with MATLAB as the issue asks.

  3. arnodelorme commented on Nov 28, 2026

    @arnodelorme
    Collaborator

    🤖 Linux comparison, November 28. The two Reject by inspection actions both showed the same difference on jamming. EEGLAB first asked whether to keep previous marks and reject marked epochs. EEGPrep opened the channel or component traces immediately. We stopped at the opening windows. Applying rejection remains a separate test.

    pop_eegplot native GUI comparison, including the tested modes

    The Mac and Windows captures are scheduled for the overnight pass. The Linux checkouts were EEGLAB 7ba2370cff and EEGPrep 2558e8eef2.

  4. arnodelorme commented on Dec 1, 2026

    @arnodelorme
    Collaborator

    🤖 The pop_eegplot dialog and native jamming captures are tracked in #1024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    function-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions