Codebase list bart / 647d085
grasp.sh: use show Martin Uecker 8 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
118118 # read TWIX file
119119 bart twixread -A $input grasp
120120
121 export READ=$(tail -n1 grasp.hdr | cut -f1 -d" ")
122 export COILS=$(tail -n1 grasp.hdr | cut -f4 -d" ")
123 export PHASES=$(($(tail -n1 grasp.hdr | cut -f2 -d" ") / $SPOKES))
121 export READ=$(bart show -d0 grasp)
122 export COILS=$(bart show -d3 grasp)
123 export PHASES=$(($(bart show -d1 grasp) / $SPOKES))
124124
125125 export OMP_NUM_THREADS=$((MAXPROC * $MAXTHREADS))
126126
135135 bart fft -i -u $(bart bitmask 2) grasp grasp_hybrid
136136 rm grasp.cfl grasp.hdr
137137
138 SLICES=$(tail -n1 grasp_hybrid.hdr | cut -f3 -d" ")
138 SLICES=$(bart show -d2 grasp_hybrid)
139139
140140
141141 # create trajectory with 400 spokes and 2x oversampling