Skip to content

pop_clust: parity with EEGLAB on the N400 STUDY #967

Backlog

Description

@arnodelorme

🤖 The public Python call fails before it opens a window for the N400 clustered STUDY because it treats the component preclustering matrix as a Boolean. MATLAB opens a warning before showing its 209 px clustering dialog. 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

    🤖 #982 targets #974.

    Part of #967 and #875. Open clustering for precomputed STUDY matrices and confirm replacement. Stacked on #974.

    Live MATLAB, EEGPrep before and after

    Function output distances

    Vertical control offsets

    Native measurements and validation

    EEGLAB and EEGPrep opened at 209 px high. The largest vertical offset was 0.46 px. The earlier Qt call failed while evaluating a NumPy matrix and never displayed a window. The same ten recordings now give the same default of 16 clusters, the same parent cluster name and an editable outlier threshold after checking Separate outliers. Both dialogs warn before replacing an existing clustering. EEGPrep offers its two implemented methods, Kmeans and Kmeanscluster. All component membership labels matched exactly for four clusters formed from three or ten scalp-map principal components of the same sample recording. The 18 local tests passed. Five optional MATLAB tests were deselected and the two membership tests were reproduced through native MATLAB.

  3. arnodelorme commented on Dec 1, 2026

    @arnodelorme
    CollaboratorAuthor

    Done: Open clustering for precomputed STUDY matrices and confirm replacement.

    Pull request: #982

    — eegprep, reported with orch done

  4. claude commented on Dec 1, 2026

    @claude
    Contributor

    🤖 Plan:

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