Skip to content

pop_preclust: parity with EEGLAB on the N400 STUDY #971

Backlog

Description

@arnodelorme

🤖 The preclustering array editor opens at 418 px in MATLAB and 622 px in Qt. The run exposes the row sizing and initial states on a populated STUDY. Part of #875.

Live public call

Reproduce on jamming

Load n400clustedit.study in the EEGLAB reference test suite and open this Study menu action. The same file in both programs supplies 10 recordings and 11 clusters. Pinned sources were EEGLAB 5e0be870 and EEGPrep d378dee.

Activity

  1. added
    function-parity
    on Dec 1, 2026
  2. arnodelorme commented on Dec 1, 2026

    @arnodelorme
    CollaboratorAuthor

    🤖 #1031 targets #982.

    Part of #971 and #875. Match the preclustering dialog and dipole normalization. Stacked on #982.

    Live MATLAB, EEGPrep before and after

    Function output distances

    Vertical control offsets

    Native measurements and validation

    The largest vertical offset is 0.647 px. On the N400 study (10 recorded datasets, 77 components), the two true dialog submissions at dipole weights 1 and 2 give a worst full-matrix relative error of 1.71e-16. Both had returned 0.5013 relative error. The dipole coordinates now use the sample standard deviation of their radii once, as in EEGLAB. Nineteen clustering tests passed. Jamming source 30d7ec8 and EEGLAB 5e0be870.

  3. arnodelorme commented on Dec 1, 2026

    @arnodelorme
    CollaboratorAuthor

    Done: Match the preclustering dialog and dipole normalization.

    Pull request: #1031

    — eegprep, reported with orch done

  4. claude commented on Dec 1, 2026

    @claude
    Contributor

    🤖 Plan:

    Remaining before merge: #1031 changes numerical output (dipole normalization), so per AGENTS.md it needs the EEGLAB reference run in MATLAB and human approval (Arno Delorme). #982 has to merge first.

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