Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jfnielsen committed Nov 5, 2023
2 parents 78fedc9 + ac91deb commit c178a8c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions +toppe/systemspecs.m
Original file line number Diff line number Diff line change
@@ -34,8 +34,8 @@

% The following determine the slice/echo/view indexing in the data file
sys.maxSlice = 2048; % max dabslice. UI won't allow more than this to be entered
sys.maxView = 600; % not sure what limit is here
sys.maxEcho = 16; % determined empirically
sys.maxView = 600;
sys.maxEcho = 1; % actual value seems to be 16, but we won't use this dimension so only allow 1 here


%% Substitute specified system values
@@ -56,6 +56,12 @@
otherwise, error('Gradient coil (%s) unkown', sys.gradient);
end

if sys.maxView > 2048
error('maxView exceeds max value (2048)');
end
if sys.maxEcho > 1
error('maxEcho exceeds max value (1)');
end

return

0 comments on commit c178a8c

Please sign in to comment.