-
Notifications
You must be signed in to change notification settings - Fork 13
ENH: Add visualization of head motion correction #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #171 +/- ##
==========================================
+ Coverage 79.66% 80.23% +0.57%
==========================================
Files 82 84 +2
Lines 6138 6366 +228
Branches 618 638 +20
==========================================
+ Hits 4890 5108 +218
- Misses 1092 1096 +4
- Partials 156 162 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…-to-visuals ENH: Add framewise displacement graph to visuals
|
Think I am quite happy with the state of this now - @mathesong WDYT? You can patch in the code from this PR when running PETPrep with Docker using
|
|
This looks awesome!! This is just what we've been missing. And I really like the markers of the larger overall displacement too! I've just been running PETPrep on a large dataset for the last two days, so maybe I'll run it again over the weekend to get the snazzy new motion plots. |

This PR addresses issue #169 by implementing a visualization of the head motion correction, similarly as produced by petprep_hmc. This allows the user to visually inspect the data before and after motion, and is a nice addition to the carpet plot visualization above showing the DVARS and framewise displacement.