[newtimef] Bring pop_newtimef time-frequency plots to EEGLAB parity - #319
Conversation
|
🤖 Automated code review — generated by Claude Code at a maintainer's request. Not a human review. Code review
What I ran (results)
The MATLAB parity test ran EEGLAB's actual BlockingNone. One required housekeeping item:
Important
Nits
Test gaps
EEGLAB parity notes
🤖 Posted by Claude Code on behalf of @innaamogolonova. Findings are advisory; a human should confirm before merge. |
…rsion # Conflicts: # docs/source/changelog.rst
|
Addressing PR review: Addressed
Verified, no code change
Deferred
CI noteThe two red checks — Build Documentation and Ruff and ty — are not from this PR. They're pre-existing |
|
🤖 Automated re-review — generated by Claude Code at a maintainer's request, after the three follow-up commits. Not a human review. Code review (re-review)
What changed since the last reviewThree fix commits, on top of a
What I ran (results)
BlockingNone. ImportantNone. The prior Important finding (p-value test scope) is resolved by the honest docstring — the two-sided p-value math still matches MATLAB exactly, now with accurate wording about how it is verified. Nits
Test gapsNone outstanding. The negative- EEGLAB parity notes
Unrelated to this PR: any Build Docs / Ruff CI failure on this PR is inherited from 🤖 Posted by Claude Code on behalf of @innaamogolonova. Findings are advisory; a human should confirm before merge. |
|
🤖 Review of this PR, generated by Claude Code at a maintainer's request. Summary: the Verified
Blocking: ERSP null construction differs from EEGLAB
Quick simulation (1 freq, 60 baseline points, 30 trials, naccu=400, alpha=0.05; null in dB):
The two new MATLAB parity tests check the deterministic ERSP/ITC values and the p-value formula on fixed arrays; neither exercises the null construction, so the changelog claim that "bootstrap thresholds ... closely match EEGLAB" is not yet demonstrated. Suggested fix: in Non-blocking
|
Updated PR descriptionPort the single-condition Behavior changes to note
SignificanceThe ERSP/ITC bootstrap null is built EEGLAB's way — permute each trial's baseline time course, then average over trials ( Tests (MATLAB parity against a real EEGLAB checkout)
|
|
Comments addressed. Blocking: ERSP significance null construction — fixed in 6f00f05. Changelog (contradictory per-commit bullets, jet vs turbo) — consolidated in 037034b: the 12 newtimef entries are now 3 bullets describing the final behavior (turbo only). PR description — updated to call out the two behavior changes: the The |
…rsion # Conflicts: # docs/source/changelog.rst
Port the single-condition pop_newtimef and newtimef ERSP/ITC workflow to EEGLAB parity: EEGLAB-matching decomposition numerics, two-sided baseline bootstrap significance, and the full image figure with marginal panels, tick values, scalp inset, phase-sign and phase-only coloring, pcontour outlines, and color limits. Adds a MATLAB parity test covering the ERSP, ITC, and p-value outputs, plus user documentation. Two-condition comparison stays out of scope.