Skip to content

[GUI] Match the channel and component statistics dialog - #975

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-875-plot-signalstat
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-875-plot-signalstat

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Match the channel and component statistics dialog. The continuous window measured 147 px high in MATLAB, 165 px before the fix and 147 px afterward. Stack base is #946.

Continuous

Epoched

Displacement

Signal mean and standard deviation

Across 2 native openings, the largest vertical control offset was 0.52 px (target 1 px). Numerical comparison of signal mean and standard deviation: 6/6 measured cases within tolerance.

EEGLAB 5e0be870, EEGPrep after dcba1f78, clean Linux checkouts. Part of #875.

Fixes #976.

Full inventory report for the project team. pop_signalstat (p. 43). PDF · Editable Word.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization has no extra usage available to pay for this review.

If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.

Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.

@claude

claude Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @arnodelorme's task in 32s —— View job


Code review

  • Overall assessment: Looks good. I checked that pop_signalstat_dialog_spec now gets its geometry from inputdlg2_geometry. Both prompts are single-line, so each row is (1, 0.6) with geomvert=None and layout="supergui". This matches the recorded EEGLAB cases (geometry {[1 0.6],[1 0.6]}, empty geomvert). The fixed size=(420, 150) is gone, so the 147 px height in the PR description comes from the supergui layout.
  • Highest-risk area: None identified. The change only affects dialog layout. _run_gui still reads cnum and percent by tag, so the values the dialog returns and the history command are unchanged.
  • Merge recommendation: Safe to merge after its stack base ([GUI] Match the shared text-entry dialog to its prompts #946).

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The geometry test drives the public pop_signalstat(EEG, 1, renderer=...) entry point for both epoched and continuous data and compares the result with the MATLAB-recorded inputgui arguments. Only the channel dialog was recorded. The component dialog (typeproc=0) changes only the label text, and both of its prompts are single-line too, so inputdlg2_geometry gives it the same geometry. A separate recording would not catch anything new.

EEGLAB parity notes

None. Renaming FILTER_CALLS to PUBLIC_CALLS matches what the dict now holds, because it includes non-filter entry points. The import reordering in tests/test_gui_geometry.py is isort-style sorting, not a behavior change.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. I could not run the test suite in this job because shell permissions were restricted.

…ot-signalstat

# Conflicts:
#	tests/test_gui_geometry.py
#	tools/gui_geometry/matlab/record_geometry.m
@arnodelorme
arnodelorme merged commit 9a51738 into develop Dec 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pop_signalstat: Match the channel and component statistics dialog

1 participant