Skip to content

Commit

Permalink
Added some useful output
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraig-ibme committed Oct 9, 2018
1 parent fb3c5b5 commit f3c4ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions asl_calib.in
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ if [ $mode = longtr ]; then

# calculate M0_ref value
Moval=`fslstats $temp_calib/calib -M` # this is Mz of CSF
echo "Signal in reference tissue: $Moval" >> $log
corr=`echo "(1 - e(- ( $tr - $taq ) / $T1r) )" | bc -l`
echo "Correction factor: $corr (tr=$tr, tsq=$taq, t1=$T1r)" >> $log
Moval=`echo "$Moval / (1 - e(- ( $tr - $taq ) / $T1r) )" | bc -l` #this is now M0 of the reference
echo "Mz of reference tissue: $Moval" >> $log

Expand Down

0 comments on commit f3c4ff0

Please sign in to comment.