Match EEGLAB pop_prop channel and component properties figure - #309
Match EEGLAB pop_prop channel and component properties figure#309innaamogolonova wants to merge 6 commits into
Conversation
|
@claude please review this PR which brings |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
@claude please review this PR which brings pop_plot to parity with EEGLAB. Highlight any points of concern that should be addressed before merge. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
🤖 @claude retrying — diagnostic run to capture the workflow error. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
@claude please review this PR which brings pop_plot to parity with EEGLAB. Highlight any points of concern that should be addressed before merge. |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
🤖 Code review — automated review of the Summary
Parity verified against EEGLAB source ✅
Important1. Component ERP-image panel is labeled "µV", but IC activations are unitless — EEGLAB blanks it.
Fix: thread a blank Nits2. Figure is created before the index is validated — leaks an open figure on bad input. In Fix: validate Test gaps
EEGLAB parity notes
Areas checked: correctness/regressions in the diff, EEGLAB numeric parity (mapnorm, caxfraction, offset, spectrum color, contours, color axis), data-structure handling (epoched vs continuous, channel-major shapes, 1-based indexing), reference integrity after the renames/moves, and changed-behavior test coverage. |
|
Addressed the two review items in 1b318a4:
|




Bring pop_prop (Plot > Channel/Component properties) to EEGLAB parity: a scalp map, an ERP image reusing erpimage, and the activity power spectrum. Component spectra scale by scalp-map power (mapnorm), the component map centers its color axis on zero and shows electrodes with three contours, the selected channel is marked in red, and the spectrum y-axis hugs the plotted frequency band. Adds parity tests.
Visual parity (EEGLAB on the left):

