Repository navigation
Match four FIR filter dialogs to the EEGLAB layout - #888
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 1m 0s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gapsNone. The new cases cover the behaviour that changed:
The tests go through the public EEGLAB parity notesNone. This PR changes only dialog layout: no option values, filter defaults or processing code. Each spec's geometry, Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behaviour tests and CLAUDE.md/AGENTS.md compliance. I could not run |
# Conflicts: # docs/source/changelog.rst # tools/gui_geometry/README.md
Move the basic FIR filter, moving average, Parks–McClellan filter and Kaiser beta dialogs to the recorded EEGLAB layout. Across seven calls on jamming, the largest row offset was 0.66 pixel. All four windows match MATLAB’s height to the nearest pixel.
pop_eegfiltnew
pop_firma
pop_firpm
pop_kaiserbeta
Row distance across seven calls
Cause and changes
The four dialogs supplied fixed window sizes. They now use the recorded row and column proportions, including the double-height explanatory row in the basic filter. The shared Linux label measurement follows the multiline Helvetica extent measured in MATLAB R2025b. Button shape, text rendering and up to 17 pixels of width still differ.
Verification
The MATLAB recorder called the EEGLAB functions at
5e0be870. The before and after captures came from the real EEGPrep functions. Both continuous and epoched samples were used for each filter, and Kaiser beta was opened without a dataset. The histogram compares the actual EEGPrep windows with the corresponding MATLAB windows. Baseline EEGPrep was64fcfac8. All computation and rendering ran on jamming with the tested checkout’s src first on PYTHONPATH. The FIR and geometry selection passed 124 tests, with nine skips. The broader Linux selection passed 3,583 tests with 32 skips in 261 seconds. Commitc94c592fformats the test renderer. All 72 geometry tests passed on that commit, along with Ruff, ty and the staged pre-commit checks.Part of #875.
Full inventory report for the project team. pop_eegfiltnew (p. 66), pop_firma (p. 67), pop_firpm (p. 68), pop_kaiserbeta (p. 96). PDF · Editable Word.