Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
cf628f4
ENH: Add dynamic visualization for motion correction
mnoergaard Nov 17, 2025
e03d224
FIX: update to SVG output
mnoergaard Nov 17, 2025
e00cd10
FIX: update display time and looping
mnoergaard Nov 17, 2025
fb0b6cf
FIX: update duration for motion display
mnoergaard Nov 17, 2025
7d67e88
FIX: update duration to 0.25 s
mnoergaard Nov 17, 2025
250aacc
FIX: set duration to 0.2 seconds
mnoergaard Nov 17, 2025
8bde720
FIX: update display of frames
mnoergaard Nov 17, 2025
a8dcf4d
FIX: add click to restart animation
mnoergaard Nov 17, 2025
eb3a99a
FIX: update description
mnoergaard Nov 17, 2025
afaa474
FIX: modify playback
mnoergaard Nov 17, 2025
788c8ba
FIX: update description
mnoergaard Nov 17, 2025
5c8b871
FIX: style
mnoergaard Nov 17, 2025
06c6391
FIX: ruff
mnoergaard Nov 17, 2025
7070913
FIX: style
mnoergaard Nov 17, 2025
0dc9fc1
FIX: style
mnoergaard Nov 17, 2025
b934b44
FIX: Fix motion report for 3D data
mnoergaard Nov 17, 2025
86b5a97
FIX: style
mnoergaard Nov 17, 2025
f7837b0
ENH: add test for motion visualization
mnoergaard Nov 18, 2025
8ce30e9
FIX: style
mnoergaard Nov 18, 2025
de430d1
Add framewise displacement trace to motion report
mnoergaard Nov 18, 2025
994d408
FIX: style
mnoergaard Nov 18, 2025
f59cef7
FIX: style
mnoergaard Nov 18, 2025
cf87e03
FIX: update figure
mnoergaard Nov 18, 2025
5154716
Merge pull request #173 from nipreps/add-framewise-displacement-graph…
mnoergaard Nov 18, 2025
a584df3
FIX: syntax error
mnoergaard Nov 18, 2025
ec35969
FIX: style
mnoergaard Nov 18, 2025
4f7ce64
FIX: style
mnoergaard Nov 18, 2025
4af9edd
FIX: update tests to improve coverage
mnoergaard Nov 18, 2025
0e7c7b6
FIX: update test
mnoergaard Nov 18, 2025
d5aec99
ENH: add labels to y-axis FD lineplot
mnoergaard Nov 18, 2025
b42c733
FIX: update FD lineplot
mnoergaard Nov 18, 2025
52b8aa3
FIX: style
mnoergaard Nov 18, 2025
9fff5ba
FIX: change y-label position
mnoergaard Nov 18, 2025
6a9c4f4
Merge branch 'main' into add_hmc_visual
mnoergaard Nov 19, 2025
4d69f65
ENH: Add x-axis tick labels to FD plot
mnoergaard Nov 19, 2025
d69d8f5
FIX: update x-tick labels on FD plot
mnoergaard Nov 19, 2025
217772b
FIX: update figure description
mnoergaard Nov 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions petprep/data/reports-spec-pet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sections:
reportlets:
- bids: {datatype: figures, desc: summary, suffix: pet}
- bids: {datatype: figures, desc: validation, suffix: pet}
- bids: {datatype: figures, desc: hmc, suffix: pet}
- bids: {datatype: figures, desc: carpetplot, suffix: pet}
- bids: {datatype: figures, desc: confoundcorr, suffix: pet}
- bids: {datatype: figures, desc: coreg, suffix: pet}
Expand Down
5 changes: 5 additions & 0 deletions petprep/data/reports-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ sections:
static: false
subtitle: PET Summary and Carpet Plot

- bids: {datatype: figures, desc: hmc, suffix: pet}
caption: Animated frames before and after PET head motion correction with synchronized framewise displacement trace (keep cursor over image to restart). Below is a lineplot of the Framewise Displacement (FD) in mm per frame. Red line segments between points indicate frames where FD exceeds 3 mm, suggesting motion that may impact data quality.
static: false
subtitle: Motion correction

- bids: {datatype: figures, desc: confoundcorr, suffix: pet}
caption: |
Left: Correlation heatmap illustrating relationships among PET-derived confound variables (e.g., motion parameters, global signal).
Expand Down
2 changes: 2 additions & 0 deletions petprep/interfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from niworkflows.interfaces.bids import DerivativesDataSink as _DDSink

from .cifti import GeneratePetCifti
from .motion import MotionPlot
from .tacs import ExtractRefTAC, ExtractTACs


Expand All @@ -15,4 +16,5 @@ class DerivativesDataSink(_DDSink):
'GeneratePetCifti',
'ExtractTACs',
'ExtractRefTAC',
'MotionPlot',
)
Loading