Skip to content

[GUI] Match the pop_rejchan dialog to EEGLAB #932

Description

@arnodelorme

🤖 #941

The five-row channel rejection dialog now sizes itself from its controls. The initial spectrum range uses native spacing and stays disabled until Spectrum is selected. On jamming the maximum control-top error changed from 97.95 to 0.62 pixels. This PR stacks on #940.

pop_rejchan.continuous-triptych

pop_rejchan.epoched-triptych

distances

All three measures selected the same rejected channel indices. The normalized score differences for probability and standard deviation exceed the 1e-5 reference level, including before this GUI change. Maximum normalized distance across the three comparisons was 1.65e-05.

Verification and methods

The two public functions opened on the same sample inputs with clean EEGLAB and EEGPrep checkouts. For each numerical case the distance is the largest absolute error divided by the largest absolute MATLAB output. Tests on jamming reported 170 passed, 8 deselected in 15.82s. The native MATLAB R2025b run is separate from the Python test runner.

Verification and history

Compare the two native windows on jamming, including input, submission and output. Record both checkout SHAs and verify the active Python import path. Part of #875. Follow-up to #570, Add a half-count tie test for 2-D _trimmed_channel_scores.

Activity

  1. claude commented on Dec 1, 2026

    @claude
    Contributor

    🤖 Plan:

    Not done: the dialog is not yet in tools/gui_geometry (needs record_geometry.m + MATLAB reference positions), and the 221 px height was not measured here (no Qt/libEGL on this runner).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions