grasp.sh: use show
Martin Uecker
8 years ago
118 | 118 | # read TWIX file |
119 | 119 | bart twixread -A $input grasp |
120 | 120 | |
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)) | |
124 | 124 | |
125 | 125 | export OMP_NUM_THREADS=$((MAXPROC * $MAXTHREADS)) |
126 | 126 | |
135 | 135 | bart fft -i -u $(bart bitmask 2) grasp grasp_hybrid |
136 | 136 | rm grasp.cfl grasp.hdr |
137 | 137 | |
138 | SLICES=$(tail -n1 grasp_hybrid.hdr | cut -f3 -d" ") | |
138 | SLICES=$(bart show -d2 grasp_hybrid) | |
139 | 139 | |
140 | 140 | |
141 | 141 | # create trajectory with 400 spokes and 2x oversampling |