Skip to content

Commit 4f22495

Browse files
committed
upped dof to 12, adding slides/markdown
1 parent 5013f7d commit 4f22495

File tree

6 files changed

+4549
-0
lines changed

6 files changed

+4549
-0
lines changed

notebooks/logs/petdeface_20250430_140702.log

Lines changed: 1886 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/logs/petdeface_20250501_172824.log

Lines changed: 891 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/media/not1w.png

78.2 KB
Loading

notebooks/no_anatomical.ipynb

Lines changed: 1734 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/slides.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
marp: true
3+
theme: gaia
4+
_class: lead
5+
backgroundColor: #fff
6+
---
7+
8+
![bg left:40% 80%](media/not1wpng)
9+
10+
# **Defacing: No T1w? No Problem!**
11+
12+
---
13+
14+
# This is my second Slide
15+
16+
Add bids tree with missing t1w's
17+
18+
---
19+
20+
# Using templates
21+
22+
Photo of MNI, Martin's T1w, and an Averaged PET image
23+
24+
---
25+
26+
# Show command line usage to enable templating
27+
28+
---
29+
30+
# Show outputs with registration to Templates
31+
32+
---
33+
34+
# Lastly run motion correction on outputs and show differences
35+

petdeface/petdeface.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,9 @@ def init_single_subject_wf(
473473
# rename registration file to something more descriptive than registration.lta
474474
# we do this here to account for mulitple runs during the same session
475475
mricoreg = MRICoreg(reference_file=t1w_file)
476+
if use_template_anat:
477+
mricoreg.inputs.dof = 12
478+
476479
mricoreg.inputs.out_lta_file = f"{pet_string}{run_id}_desc-pet2anat_pet.lta"
477480

478481
coreg_pet_to_t1w = Node(mricoreg, "coreg_pet_to_t1w")

0 commit comments

Comments
 (0)