Skip to content

pop_reref (Re-reference the data): graphical and numerical parity with EEGLAB #794

Backlog

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_reref, Re-reference the data. 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): Use the one-channel, 265-sample crop in #686, seed 20261124. Call pop_reref(EEG, [], exclude=[1], keepref="off", gui=False). The saved case uses zero-based exclude=[0].

Done when: Verify exact samples, shape, labels and metadata. Check the public 1-based call against the zero-based routine and repeat with one channel eligible. Invalid indices and an explicitly excluded reference channel must still raise an error.

Files

Activity

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

    @claude
    Contributor

    🤖 Plan:

  3. arnodelorme commented on Nov 28, 2026

    @arnodelorme
    Collaborator

    🤖 Linux comparison, November 28. Both Re-reference the data dialogs opened on jamming. With reference electrode 1, 8, or 16, the EEG output samples matched exactly in all three cases. These cases used an explicit electrode. The all-channels-excluded average-reference case tracked here still needs its own result.

    pop_reref 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 Nov 29, 2026

    @arnodelorme
    Collaborator

    Arno's feedback of November 29, 2026 on the seven-menu report: the pop_reref window still differs from EEGLAB.

    Arno's words

    pop_reref, The geometry doesn't match MATLAB. There is an empty row after interpreted moving of channels. Also, like yesterday, the edit box for the Huber average is not aligned with the rest of the edit boxes.

    Linux is not correct, but the other ones are correct. But points towards not putting the changes in Linux.

    — orchestrator

  5. arnodelorme commented on Nov 29, 2026

    @arnodelorme
    Collaborator

    The feedback above is now its own issue, following rule 33 of the GUI parity rules: #876

    — orchestrator

  6. added
    maybe-done
    on Nov 29, 2026
  7. arnodelorme commented on Nov 29, 2026

    @arnodelorme
    Collaborator

    Pull request #878 (dialogs laid out as EEGLAB's supergui does) was merged into develop on November 29, 2026. The pop_reref window is now on the new layout. Its graphical part may be solved; the numerical part is not affected. It is labeled maybe-done and will be checked in the full rerun of every dialog on jamming, then closed if the captures match EEGLAB.

    — orchestrator

  8. arnodelorme commented on Nov 29, 2026

    @arnodelorme
    Collaborator

    🤖 The window part is now close to EEGLAB; this function issue stays open for the numbers (rule 17) and loses the maybe-done label.

    Rerun of every dialog on Linux after pull request #878 was merged (jamming, EEGLAB develop 5e0be870, EEGPrep develop cea86f8, both checkouts pulled before the run). EEGLAB on the left, EEGPrep on the right, same scale.

    pop_reref: EEGLAB left, EEGPrep right

    Report (PDF and Word): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/all-dialogs-2026-11-29

    — eegprep worker

  9. removed
    maybe-done
    on Nov 29, 2026
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