Skip to content

[GUI] Restore the cross-coherence options and Help control - #1001

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

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

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Restore the cross-coherence options and Help control. The continuous window measured 352 px high in MATLAB, 524 px before the fix and 352 px afterward. Stack base is #994.

Continuous

Epoched

Displacement

Time-frequency coherence

Across 2 native openings, the largest vertical control offset was 0.61 px (target 1 px). Numerical comparison of time-frequency coherence: 0/2 measured cases within tolerance.

Channel 1 and next: Maximum absolute difference 0.04857 on reference scale 0.8676.

Component 2 and next: Maximum absolute difference 0.05891 on reference scale 0.3542.

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

Fixes #1003.

Full inventory report for the project team. pop_newcrossf (p. 48). 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 55s —— View job


Code review

  • Overall assessment: Looks good. The dialog now uses the shared supergui layout instead of the fixed 908×476 size and custom stylesheet. The new options_help button uses the existing show_help callback (qt.py:650), which calls pophelp("newcrossf") and opens the new resources/help/newcrossf.md. The new case JSON records MATLAB's layout and labels, and the Python spec matches them, including Wavelet cycles (0->FFT, see >> help timef) and Optional timef() arguments (see Help). Both the continuous and epoched cases are added to record_geometry.m and PUBLIC_CALLS.
  • Highest-risk area: GUI layout only. No processing code or numerical output changes.
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

  • src/eegprep/resources/help/newcrossf.md: EEGLAB's Help button opens the full newcrossf help, which lists every option. This file describes only padratio, timesout and freqs. Options users often type into this field, such as type, alpha, baseline, maxfreq, freqscale and plotamp/plotphase, are missing. Consider adding a short table of the accepted newcrossf options. pop_newcrossf.md already describes maxfreq.

Test gaps

None. tests/test_gui_geometry.py now runs the public pop_newcrossf(EEG, 1) call against both MATLAB reference recordings.

EEGLAB parity notes

Checked for correctness bugs, EEGLAB parity, data structure compatibility, tests for the changed behavior, and CLAUDE.md/AGENTS.md compliance. I could not run tests/test_gui_geometry.py because the sandbox did not allow the pytest command.

@arnodelorme
arnodelorme changed the base branch from agent/issue-875-plot-newtimef to develop December 1, 2026 07:08
@arnodelorme
arnodelorme merged commit 4adb5b0 into develop Dec 1, 2026
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_newcrossf: Restore the cross-coherence options and Help control

1 participant