Skip to content

Commit

Permalink
Fixed a bug when generate reverse slice order
Browse files Browse the repository at this point in the history
  • Loading branch information
sandywang committed Jul 3, 2018
1 parent 6373979 commit f82f211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RunFun/gretna_RUN_SliTim.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function gretna_RUN_SliTim(InputFile, TR, SInd, RInd)
case 2 %alt+z2
SliOrd=[2:2:SliNum, 1:2:SliNum];
case 3 %alt-z
SliOrd=[SliNum:-2:1, SliNum:-2:2];
SliOrd=[flipdim(1:2:SliNum, 2), flipdim(2:2:SliNum, 2)];
case 4 %alt-z2
SliOrd=[SliNum:-2:2, SliNum:-2:1];
SliOrd=[flipdim(2:2:SliNum, 2), flipdim(1:2:SliNum, 2)];
case 5 %seq+z
SliOrd=1:SliNum;
case 6 %seq-z
Expand Down

0 comments on commit f82f211

Please sign in to comment.