Repository navigation
Consolidate STUDY time-frequency stats behavior - #217
suraj-ranganath merged 2 commits into
Conversation
|
Claude finished @suraj-ranganath's task in 3m 24s —— View job Code review
BlockingNone. Important
The two original helpers differed in their
The merged helper always uses This is an edge case (only triggers when np.testing.assert_array_equal(bootstrap_indices(times, baseline=np.nan, baseboot=1, baseln=baseln), [0, 1])Suggested fix: preserve the original Nits
The shared Test gaps
EEGLAB parity notes
Checked: correctness of the bootstrap/range-mask/trialinfo consolidations, |
|
🤖 Addressed the Claude review edge case in d4ed7bb: the shared bootstrap helper now preserves the original newtimef single-value baseboot behavior by using times <= 0 when limit_to_baseboot is false, while newcrossf keeps times <= baseboot. Added a distinguishing test with a sample in (0, baseboot]. |
Consolidate STUDY time-frequency stats behavior
Fixes #210. Part of #207. This consolidates robust STUDY clustering provenance, cached measure plotting/read helpers, trialinfo/factor matching utilities, time-frequency bootstrap helpers, and documented empirical p-value conventions with focused regression coverage.