Skip to content

pop_firpmord (Tools > Filter the data): match the FIR order and weights dialog #891

Done

Description

@arnodelorme

The Parks–McClellan Estimate dialog now aligns both entries and matches MATLAB’s 147-pixel window height on Linux. Base is the FIR branch in #888.

MATLAB, previous EEGPrep, updated EEGPrep

Distance for eight order and weight comparisons

Geometry and numerical checks

At 6c0254c2 on jamming, all seven controls were present in order. The largest vertical offset was 0.53 pixel. The Qt window is 5 pixels wider than MATLAB and the edit column starts 2.34 pixels farther right. All eight numerical calls returned identical order and weights. The targeted run passed 106 tests with seven optional MATLAB tests skipped. The graph uses eight separately executed comparisons against MATLAB R2025b. The preflight verified EEGLAB 5e0be870 and both EEGPrep revisions.

Fixes #891. Part of #875.

Activity

  1. added
    function-parity
    on Dec 1, 2026
  2. claude commented on Dec 1, 2026

    @claude
    Contributor

    🤖 Plan:

    • Move pop_firpmord_dialog_spec from the fixed size=(560, 176) "qt" layout to layout="supergui" with EEGLAB's {[1 1] [1 1]} geometry, so the height comes from the two rows as in MATLAB (147 px, same as the two-row pop_resample reference)
    • Test: drawn dialog height and aligned edit boxes (tests/test_gui_pop_firfilt.py)
    • Open PR: [pop_firpmord] Match EEGLAB's Estimate dialog height #893
    • CI green

    Research: pop_firpmord_dialog_spec hard-coded size=(560, 176) on the old "qt" layout, so Qt stretched the rows. Dialogs moved in #884 / #875 use layout="supergui", which derives the figure size from geometry as supergui.m does. Order/weight math is untouched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    function-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions