🤖 Phase 4 completes advanced STUDY statistics, PAC, and LIMO-compatible workflows where EEGPrep can provide real standalone behavior.
Summary
Bring advanced group/statistical workflows to product quality: PAC compute/cache/plot behavior, LIMO-compatible design/result surfaces or explicit optional integration, neighbour/interpolation assumptions, and STUDY statistics/reporting paths that researchers expect after STUDY preprocessing.
Scope
- PAC: practical standalone
pac, pac_cont, std_pac, std_pacplot, and std_readpac behavior or a clear optional-dependency-backed implementation if needed.
- LIMO-compatible workflows:
pop_limo, pop_limoresults, std_limo, std_limodesign, std_limoresults, std_limoerase, and result readers, implemented as standalone EEGPrep statistical workflows where feasible or clear integration points where not.
- STUDY neighbour/interpolation/stat parameter workflows that were classified as external or runtime skips but are needed by real user flows.
- Cross-check with Phase 3 for source localization and Phase 5 for large STUDY data/cache storage.
Acceptance Criteria
- No user-facing advanced STUDY/PAC/LIMO path silently no-ops or returns fake results.
- Implemented workflows have docs, help, replayable commands, GUI/console synchronization, and sample multi-dataset tests.
- Optional external dependencies are explicit in
pyproject.toml, docs, error messages, and tests if adopted.
- MATLAB parity tests cover deterministic structures/results where feasible; numerical tolerances are documented.
- GUI dialogs/plots have visual parity evidence.
Required References
AGENTS.md
src/eegprep/eeglab/functions/studyfunc/
src/eegprep/eeglab/functions/timefreqfunc/pac.m
src/eegprep/eeglab/functions/timefreqfunc/pac_cont.m
src/eegprep/functions/studyfunc/
src/eegprep/functions/timefreqfunc/
.agents/skills/eegprep-feature-development/SKILL.md
.agents/skills/eeglab-gui-visual-parity/SKILL.md
.agents/skills/gui-agent-flow-qa/SKILL.md
/goal
/goal Complete advanced EEGPrep STUDY statistics, PAC, and LIMO-compatible workflows from the final parity audit. Use EEGLAB as behavior reference but implement real standalone Python behavior or explicit optional-dependency integrations; no fake result placeholders. Verify with multi-dataset sample fixtures, MATLAB parity where deterministic, GUI visual parity, console/history sync tests, docs/help resources, ruff/format/ty, non-slow pytest, and pre-commit. Coordinate contracts with DIPFIT/source and storage phases, and report any remaining external-only limitations clearly.
🤖 Phase 4 completes advanced STUDY statistics, PAC, and LIMO-compatible workflows where EEGPrep can provide real standalone behavior.
Summary
Bring advanced group/statistical workflows to product quality: PAC compute/cache/plot behavior, LIMO-compatible design/result surfaces or explicit optional integration, neighbour/interpolation assumptions, and STUDY statistics/reporting paths that researchers expect after STUDY preprocessing.
Scope
pac,pac_cont,std_pac,std_pacplot, andstd_readpacbehavior or a clear optional-dependency-backed implementation if needed.pop_limo,pop_limoresults,std_limo,std_limodesign,std_limoresults,std_limoerase, and result readers, implemented as standalone EEGPrep statistical workflows where feasible or clear integration points where not.Acceptance Criteria
pyproject.toml, docs, error messages, and tests if adopted.Required References
AGENTS.mdsrc/eegprep/eeglab/functions/studyfunc/src/eegprep/eeglab/functions/timefreqfunc/pac.msrc/eegprep/eeglab/functions/timefreqfunc/pac_cont.msrc/eegprep/functions/studyfunc/src/eegprep/functions/timefreqfunc/.agents/skills/eegprep-feature-development/SKILL.md.agents/skills/eeglab-gui-visual-parity/SKILL.md.agents/skills/gui-agent-flow-qa/SKILL.md/goal