-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85e4e82
commit 4e5952e
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |