Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8a976d1
Add initial version of script to process DWI data
valosekj Apr 6, 2026
89f5e15
Add configurable preprocessing flags to test different processing ste…
valosekj Apr 6, 2026
f1abfe4
Add config file for DWI processing
valosekj Apr 8, 2026
0580670
Log preprocessing arguments to file
valosekj Apr 8, 2026
57fa1bf
Define log prefix to have consistent log files for T2w and DWI files
valosekj Apr 8, 2026
99501cc
Process DTI metrics in parallel for faster processing
valosekj Apr 8, 2026
eff943f
use include_list to include all spine-generic HC
valosekj Apr 14, 2026
85e9922
Add script to generate PAM50 DTI figures
valosekj Apr 14, 2026
1ad4253
Refactor DTI lineplot creation to share y-axis limits and improve sub…
valosekj Apr 15, 2026
49768f6
use x-axis label and tick numbers only on bottom row
valosekj Apr 21, 2026
ac9dba9
remove unnecessary note about warp field
valosekj Apr 21, 2026
ea6447a
improve comments
valosekj Apr 21, 2026
1e71aa9
move DTI computation before template reg for easier code readability
valosekj Apr 21, 2026
398ce20
Shorten the DWI section by consolidating commands; improve commnets
valosekj Apr 21, 2026
38adbe5
Add per-sex plotting
valosekj Apr 21, 2026
b000f86
clarify PAM50 template to DWI space comments
valosekj Apr 24, 2026
8b019b2
${PATH_RESULTS}/dwi --> ${PATH_RESULTS}/dwi_PAM50
valosekj Apr 27, 2026
0978a0a
Extract metrics in the native space as a sanity check (optional; not …
valosekj Apr 27, 2026
acaadcd
Extract DTI metrics in native space and interpolate to PAM50 using -n…
valosekj Apr 27, 2026
72907e0
fix file_out
valosekj Apr 29, 2026
ee8070f
change dwi params
valosekj Apr 29, 2026
2d6bce0
increase number of jobs
valosekj Apr 29, 2026
8c1736c
remove -vert 2:5
valosekj Apr 29, 2026
e5b2de1
Refactor DTI metric extraction by writing each tract to a temporary f…
valosekj Apr 29, 2026
d7eca35
Sequentialize DTI metric processing to prevent memory issues
valosekj Apr 29, 2026
97d8c8c
use CC instead of MI for dmri moco
valosekj May 5, 2026
973fbec
Add vertebral level range restriction and improve data filtering in D…
valosekj May 12, 2026
0d0b607
Use only 2 labels for T2w -> PAM50 registration to be consistent with…
valosekj May 15, 2026
33b99bb
Add sanity check: warp eigenvalues to PAM50 and recompute DTI metrics
valosekj May 19, 2026
2d22fe5
Use all disc labels for T2w -> PAM50 registration
valosekj May 19, 2026
9161f12
Restricted to white matter only to speed up processing.
valosekj May 19, 2026
8c15948
Resolve compute_dti_from_evals.py via ~/code/PAM50-normalized-metrics
valosekj May 20, 2026
11a5d13
use SCT python for compute_dti_from_evals.py
valosekj May 20, 2026
0e789b0
Add progress bar to CSV processing in generate_figures_dti.py
valosekj May 20, 2026
da635fb
make the script compatible with DTI metrics based on eigenvalues
valosekj May 23, 2026
e6b1730
tweak font size
valosekj May 23, 2026
30892ae
move the vertical lines to be exactly between
valosekj Jun 3, 2026
af6d1fb
Add script to compare FA between warp and interp methods in PAM50 spa…
valosekj Jun 3, 2026
ce66375
Rename DTI scripts
valosekj Jun 3, 2026
8ca5aff
Cleanup eigenvalue related code.
valosekj Jun 3, 2026
b6c30d0
Organize the two DWI PAM50 methods (warp, interp) into sections to im…
valosekj Jun 3, 2026
94f0996
improve comments
valosekj Jun 3, 2026
6e4d34d
Unify DTI metric extraction loops (warp to PAM50, interpolate to PAM5…
valosekj Jun 3, 2026
c446583
improve comments
valosekj Jun 3, 2026
92c865e
use sct_deepseg spinalcord for both T2w and DWI
valosekj Jun 3, 2026
bcdfa5a
remove preprocessing flags
valosekj Jun 3, 2026
750c3c7
minor description update
valosekj Jun 3, 2026
0542416
update label_if_does_not_exist to use TTS
valosekj Jun 3, 2026
85a8c26
update requirements and authors
valosekj Jun 3, 2026
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
212 changes: 212 additions & 0 deletions etc/config_process_data_dwi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
{
"path_data" : "~/data/data.neuro.polymtl.ca/data-multi-subject",
"path_output" : "~/results/dwi_normative_database/dwi_normative_database_2026-04-14",
"script" : "~/code/PAM50-normalized-metrics/processing_scripts/process_data_spine-generic_dwi.sh",
"script_args" : "--mask-method centerline --mask-size 35 --seg-method deepseg --denoise 0",
"jobs" : 16,
"include_list" : [
"sub-amu01",
"sub-amu02",
"sub-amu03",
"sub-amu04",
"sub-amu05",
"sub-balgrist01",
"sub-balgrist02",
"sub-balgrist03",
"sub-balgrist04",
"sub-balgrist05",
"sub-balgrist06",
"sub-barcelona05",
"sub-barcelona06",
"sub-beijingGE01",
"sub-beijingGE02",
"sub-beijingGE03",
"sub-beijingPrisma01",
"sub-beijingPrisma04",
"sub-beijingPrisma05",
"sub-beijingVerio01",
"sub-beijingVerio02",
"sub-beijingVerio03",
"sub-brnoCeitec01",
"sub-brnoCeitec02",
"sub-brnoCeitec03",
"sub-brnoCeitec05",
"sub-brnoCeitec06",
"sub-brnoUhb01",
"sub-brnoUhb02",
"sub-brnoUhb03",
"sub-brnoUhb04",
"sub-brnoUhb05",
"sub-brnoUhb06",
"sub-brnoUhb07",
"sub-brnoUhb08",
"sub-cardiff01",
"sub-cardiff02",
"sub-cardiff03",
"sub-cardiff04",
"sub-cmrra01",
"sub-cmrra02",
"sub-cmrra03",
"sub-cmrra04",
"sub-cmrra05",
"sub-cmrra06",
"sub-cmrrb01",
"sub-cmrrb02",
"sub-cmrrb03",
"sub-cmrrb04",
"sub-cmrrb07",
"sub-dresden01",
"sub-dresden02",
"sub-fslAchieva01",
"sub-fslAchieva02",
"sub-fslAchieva03",
"sub-fslAchieva04",
"sub-fslAchieva05",
"sub-fslPrisma01",
"sub-fslPrisma03",
"sub-fslPrisma04",
"sub-fslPrisma05",
"sub-fslPrisma06",
"sub-geneva01",
"sub-geneva02",
"sub-geneva03",
"sub-geneva04",
"sub-geneva05",
"sub-hamburg01",
"sub-hamburg03",
"sub-hamburg04",
"sub-hamburg06",
"sub-juntendo750w01",
"sub-juntendo750w02",
"sub-juntendo750w05",
"sub-juntendo750w06",
"sub-mgh01",
"sub-mgh02",
"sub-mgh04",
"sub-mgh05",
"sub-mgh06",
"sub-milan01",
"sub-milan02",
"sub-milan03",
"sub-milan04",
"sub-milan05",
"sub-milan06",
"sub-milan07",
"sub-mniPilot1",
"sub-mniS01",
"sub-mniS02",
"sub-mniS03",
"sub-mniS04",
"sub-mniS07",
"sub-mniS08",
"sub-mniS09",
"sub-mountSinai02",
"sub-mountSinai05",
"sub-mountSinai06",
"sub-mpicbs01",
"sub-mpicbs02",
"sub-mpicbs03",
"sub-mpicbs05",
"sub-mpicbs06",
"sub-mpicbs07",
"sub-nottwil01",
"sub-nottwil02",
"sub-nottwil03",
"sub-nottwil04",
"sub-nottwil05",
"sub-nottwil06",
"sub-nwu02",
"sub-nwu03",
"sub-nwu04",
"sub-nwu05",
"sub-nwu06",
"sub-oxfordFmrib01",
"sub-oxfordFmrib02",
"sub-oxfordFmrib03",
"sub-oxfordFmrib04",
"sub-oxfordFmrib05",
"sub-oxfordFmrib06",
"sub-oxfordFmrib07",
"sub-oxfordFmrib10",
"sub-oxfordOhba01",
"sub-oxfordOhba02",
"sub-oxfordOhba03",
"sub-oxfordOhba04",
"sub-oxfordOhba05",
"sub-pavia02",
"sub-pavia03",
"sub-pavia04",
"sub-pavia06",
"sub-perform01",
"sub-perform02",
"sub-perform04",
"sub-perform05",
"sub-perform06",
"sub-queensland01",
"sub-queensland03",
"sub-queensland04",
"sub-queensland05",
"sub-sherbrooke02",
"sub-sherbrooke04",
"sub-sherbrooke05",
"sub-sherbrooke06",
"sub-sherbrooke07",
"sub-stanford01",
"sub-stanford02",
"sub-stanford03",
"sub-stanford04",
"sub-stanford05",
"sub-stanford06",
"sub-strasbourg01",
"sub-strasbourg02",
"sub-strasbourg03",
"sub-strasbourg04",
"sub-strasbourg05",
"sub-strasbourg06",
"sub-tehranS01",
"sub-tehranS02",
"sub-tehranS03",
"sub-tehranS05",
"sub-tehranS06",
"sub-tokyo750w06",
"sub-tokyo750w07",
"sub-tokyoIngenia06",
"sub-tokyoIngenia07",
"sub-tokyoSkyra06",
"sub-tokyoSkyra07",
"sub-ubc01",
"sub-ubc02",
"sub-ubc03",
"sub-ubc04",
"sub-ubc05",
"sub-ubc06",
"sub-ucdavis01",
"sub-ucdavis03",
"sub-ucdavis04",
"sub-ucdavis06",
"sub-ucdavis07",
"sub-ucl01",
"sub-ucl02",
"sub-ucl03",
"sub-ucl06",
"sub-unf03",
"sub-unf04",
"sub-unf05",
"sub-unf06",
"sub-unf07",
"sub-vallHebron01",
"sub-vallHebron02",
"sub-vallHebron03",
"sub-vallHebron04",
"sub-vallHebron05",
"sub-vallHebron06",
"sub-vuiisAchieva02",
"sub-vuiisAchieva04",
"sub-vuiisAchieva06",
"sub-vuiisIngenia01",
"sub-vuiisIngenia03",
"sub-vuiisIngenia04",
"sub-vuiisIngenia05",
"sub-vuiisIngenia06"
]
}
Loading