Skip to content

Commit

Permalink
fix sliceorder in ms
Browse files Browse the repository at this point in the history
fix #53 thx @ArCourtin
  • Loading branch information
CPernet authored Apr 2, 2024
1 parent 144f7d0 commit 5dad57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids/spmup_BIDS_preprocess.m
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
% timing - [0 TR]

if exist('SliceTiming', 'var')
sliceorder = SliceTiming; % time
sliceorder = SliceTiming*1000; % time in ms
refslice = sliceorder(round(length(SliceTiming)/2));
timing = [0 RepetitionTime];

Expand Down

0 comments on commit 5dad57d

Please sign in to comment.