Skip to content

Commit

Permalink
fix: Greyplots in fdir, remove moving, better setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
smoia committed Jan 23, 2023
1 parent 3c2ff2c commit 3b197c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
15 changes: 0 additions & 15 deletions 00.pipelines/func_preproc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,6 @@ do
${scriptdir}/12.func_grayplot.sh -func_in ${bold} -fdir ${fdir} -anat_in ${anat} \
-mref ${sbref} -aseg ${aseg} -polort 4 -tmp ${tmp}

bold_in=${bold%_*}
echo "mv ${bold_in}_gp_PVO.png ${fdir}/$( basename ${bold_in} )_raw_gp_PVO.png"
mv ${bold_in}_gp_PVO.png ${fdir}/$( basename ${bold_in} )_raw_gp_PVO.png
echo "mv ${bold_in}_gp_IJK.png ${fdir}/$( basename ${bold_in} )_raw_gp_IJK.png"
mv ${bold_in}_gp_IJK.png ${fdir}/$( basename ${bold_in} )_raw_gp_IJK.png
echo "mv ${bold_in}_gp_peel.png ${fdir}/$( basename ${bold_in} )_raw_gp_peel.png"
mv ${bold_in}_gp_peel.png ${fdir}/$( basename ${bold_in} )_raw_gp_peel.png

done

echo "************************************"
Expand Down Expand Up @@ -255,13 +247,6 @@ do
${scriptdir}/12.func_grayplot.sh -func_in ${boldsource} -fdir ${fdir} -anat_in ${anat} \
-mref ${sbref} -aseg ${aseg} -polort 4 -tmp ${tmp}

echo "mv ${bold}_gp_PVO.png ${fdir}/00.${boldout}_native_preprocessed_gp_PVO.png"
mv ${bold}_gp_PVO.png ${fdir}/00.${boldout}_native_preprocessed_gp_PVO.png
echo "mv ${bold}_gp_IJK.png ${fdir}/00.${boldout}_native_preprocessed_gp_IJK.png"
mv ${bold}_gp_IJK.png ${fdir}/00.${boldout}_native_preprocessed_gp_IJK.png
echo "mv ${bold}_gp_peel.png ${fdir}/00.${boldout}_native_preprocessed_gp_peel.png"
mv ${bold}_gp_peel.png ${fdir}/00.${boldout}_native_preprocessed_gp_peel.png

done

[[ ${debug} == "yes" ]] && set +x
Expand Down
6 changes: 3 additions & 3 deletions 02.func_preproc/12.func_grayplot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ tmpseg=${tmp}/$( basename ${aseg} )_seg2sbref
#Plot some grayplots!

3dGrayplot -input ${func_in}.nii.gz -mask ${tmpseg}.nii.gz \
-prefix ${tmp}/${func}_gp_PVO.png -dimen 1800 1200 \
-prefix ${func}_gp_PVO.png -dimen 1800 1200 \
-polort ${polort} -pvorder -percent -range 3
3dGrayplot -input ${func_in}.nii.gz -mask ${tmpseg}.nii.gz \
-prefix ${tmp}/${func}_gp_IJK.png -dimen 1800 1200 \
-prefix ${func}_gp_IJK.png -dimen 1800 1200 \
-polort ${polort} -ijkorder -percent -range 3
3dGrayplot -input ${func_in}.nii.gz -mask ${tmpseg}.nii.gz \
-prefix ${tmp}/${func}_gp_peel.png -dimen 1800 1200 \
-prefix ${func}_gp_peel.png -dimen 1800 1200 \
-polort ${polort} -peelorder -percent -range 3

cd ${cwd}

0 comments on commit 3b197c2

Please sign in to comment.