-
Notifications
You must be signed in to change notification settings - Fork 0
More Scripts
Andy Horng edited this page Nov 16, 2016
·
2 revisions
Some more random scripts that do certain things:
-
~ahorng/scripts/overlay_slice_video.py
: Looks for a series of *.nii files in some location (hardcoded to look for the ADNI AV1451 sliding window SPM t-test outputs), calls overlay (overlaying the input *.nii files onto a template), calls slicer (grabs specific slices of the overlaid image), then calls ffmpeg (converts the series of slices into a video) -
~ahorng/scripts/get_mask_val.py
: Looks for intensity/spatially normalized scans within a specified folder (hardcoded to ADNI AV1451 baselines), then overlays a pre-specified mask file to get mask mean max. -
~ahorng/scripts/template_space_code/prep_spm_ttest_adni.py
: includes a function for calling a SPM two sample t-test via python. Otherwise, includes many hardcoded parameters like a manually specified ordering of ADNI AV1451 scans and a reference group. The code performs a sliding-window analysis, running one t-test for each sliding window against the reference group.