Skip to content

Commit

Permalink
add more matched pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
drcandacemakedamoore committed Aug 23, 2024
1 parent 85e4e82 commit 4e5952e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions match_gen_r.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
for f in $(find /home/fsluser/pcasl_festival/json_holder_1/ -type f -name '*.nii.gz') ; do
out=pcasl_anat_output/$(basename $f)good
stripped_basename=$(basename $f)
stripped_basename=${stripped_basename%.nii.gz}
anat=/home/fsluser/home_holder/$stripped_basename.anat
mkdir $out
# bolus duration not as in dicom data but as given by medical physics team
bolusDuration='0.22170496193,0.3720622289,1.18342832912'
# tistimes is a list of inflow times as specified by medical physics team (not DICOM)
tistimes='1.22170496193,2.15336425781,4.5'
# pvccorr adds partial volume correction
oxford_asl -i $f -o $out --fslanat $anat --tis=${tistimes} --bolus=${bolusDuration} --casl --pvcorr &
break
done
wait

0 comments on commit 4e5952e

Please sign in to comment.