Draft slice banding metrics - #1461
Draft
tsalo wants to merge 13 commits into
Draft
Conversation
This reverts commit 958498e.
Add two TE-dependence-independent artifact metrics that flag acquisition/motion signatures which can mimic mixed TE-dependence: - compute_slice_banding: detects multiband/slice-leakage structure in a component's spatial weight map (per-axis bandR2 * bandMB). - compute_spike: Fisher temporal kurtosis of each component time series, flagging isolated transients after linear detrending. Both are registered in metrics.json and computed in collect.generate_metrics when requested. Includes unit tests for behavior and registration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1461 +/- ##
==========================================
- Coverage 90.29% 90.13% -0.17%
==========================================
Files 31 34 +3
Lines 5060 5321 +261
Branches 928 986 +58
==========================================
+ Hits 4569 4796 +227
- Misses 329 348 +19
- Partials 162 177 +15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Closes #1415. This drafts a couple of metrics that might be useful for flagging multiband slice leakage artifacts.
Changes proposed in this pull request:
spikemetric, which looks at kurtosis in a time series to flag components dominated by single large signal spikes.slice_bandingandslice_leakagemetrics, which might help with multiband acceleration artifacts.