Repository navigation
[GUI] Match the time-frequency analysis controls - #994
Conversation
There was a problem hiding this comment.
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 finished @arnodelorme's task in 52s —— View job Code review
What I checked:
BlockingNone. Important
NitsNone. Test gapsNone. EEGLAB parity notesNone. I could not run |
|
|
||
| The component activity dialog displays the available index range and puts each multi-line prompt above its answer. | ||
|
|
||
| The time-frequency dialog sizes its rows to the displayed options. ERSP, ITC and the optional significance curve can be selected independently. |
There was a problem hiding this comment.
Important: The third checkbox is not a significance curve. "Plot curve at each frequency" maps to plottype='curve':
eegprep/src/eegprep/functions/popfunc/pop_newtimef.py
Lines 203 to 206 in 302e25e
It draws ERSP/ITC as one curve per frequency instead of an image. Significance is set by the separate "Bootstrap significance level" field, so this sentence will mislead users.
| The time-frequency dialog sizes its rows to the displayed options. ERSP, ITC and the optional significance curve can be selected independently. | |
| The time-frequency dialog sizes its rows to the displayed options. The ERSP and ITC plots can be turned on or off independently, and *Plot curve at each frequency* draws them as curves instead of images. |
# Conflicts: # tools/gui_geometry/matlab/record_geometry.m
arnodelorme
left a comment
There was a problem hiding this comment.
This review was written by an AI assistant during a nightly check, not by Arno.
Code review
- Overall assessment: Looks good.
- Highest-risk area: None identified.
- Merge recommendation: Safe to merge.
Blocking
None.
Important
None.
Nits
None.
Test gaps
None.
EEGLAB parity notes
None.
Checked pop_newtimef_dialog_spec against EEGLAB functions/popfunc/pop_newtimef.m and functions/guifunc/supergui.m (switching DialogSpec to layout="supergui", dropping the manual size, row_spacing, and stylesheet overrides, and setting fit_width=False on plotersp, plotitc, and plotcurve whose MATLAB uilist entries list 'value' before 'string', for both channel and component modes), documentation synchronization in docs/source/api/interactive_pop_workflows.rst, geometry recordings in tools/gui_geometry/, and AGENTS.md compliance.
Tests run at 9c15bda4f9712cb84eea8ae9534e60ce36c39dd1: tests/test_gui_geometry.py (153 passed, 72 Linux reference font checks skipped on macOS), tests/test_phase4_timefreq_statistics.py -k "cycle_calculator or pop_newtimef" (8 passed, including QtDialogRenderer build and calcpush callback), tests/test_stream4_signal_processing.py -k "f92 or f126 or pointrange" (5 passed), and ruff check / ruff format --check on src/eegprep/functions/popfunc/pop_newtimef.py and tests/test_gui_geometry.py (passed).
Match the time-frequency analysis controls. The continuous window measured 379 px high in MATLAB, 562 px before the fix and 379 px afterward. Stack base is #987.
Across 2 native openings, the largest vertical control offset was 0.52 px (target 1 px). Numerical comparison of event-related spectral power: 4/4 measured cases within tolerance.
EEGLAB
5e0be870, EEGPrep after302e25e5, clean Linux checkouts. Part of #875.Fixes #996.
Full inventory report for the project team. pop_newtimef (p. 49). PDF · Editable Word.