You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Research: pop_rejchan_dialog_spec used the old qt layout with a fixed size=(520, 282), unlike the dialogs moved to layout="supergui" in [GUI] Move four Edit dialogs to EEGLAB's supergui layout #884; the freq. range edit showed 1 64 where EEGLAB's num2str([1 EEG.srate/2]) shows 1 64
Fix: layout="supergui", drop size, format the freq. range like MATLAB num2str for a row vector (pop_rejchan.py)
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).
Activity
claude commentedon Dec 1, 2026
🤖 Plan:
pop_rejchan_dialog_specused the oldqtlayout with a fixedsize=(520, 282), unlike the dialogs moved tolayout="supergui"in [GUI] Move four Edit dialogs to EEGLAB's supergui layout #884; the freq. range edit showed1 64where EEGLAB'snum2str([1 EEG.srate/2])shows1 64layout="supergui", dropsize, format the freq. range like MATLABnum2strfor a row vector (pop_rejchan.py)tests/test_stream6_rejection_numbers.py), pre-commit, PR [GUI] Lay out the pop_rejchan dialog with EEGLAB's supergui #943Not done: the dialog is not yet in
tools/gui_geometry(needsrecord_geometry.m+ MATLAB reference positions), and the 221 px height was not measured here (no Qt/libEGL on this runner).