doPixelAnalysis.sh 434 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. if [ $# -lt 1 ] ; then
  3. echo "Usage $0 patientID \(2SMobr\) \(sigma2\)"
  4. exit 0;
  5. fi;
  6. SDIR=`dirname $0`;
  7. PATIENTID=$1;
  8. SIGMA2=1.0
  9. if [ $# -gt 1 ] ; then
  10. SIGMA2=$2;
  11. fi;
  12. . $SDIR/env.sh
  13. #$SDIR/loadLabkeyData.sh $PATIENTID;
  14. $MATLAB -sd $MATLABSCRIPTDIR -batch "patientID='${PATIENTID}'; sigma2='${SIGMA2}'; analyzePixel" >& ~/logs/dynamicSPECT.log;
  15. #$SDIR/writeLabkeyData.sh $PATIENTID;
  16. #$SDIR/removeData.sh $PATIENTID;