Permalink
Browse files

Updated dose2CERR to handle 2-D doses

  • Loading branch information...
aditiiyer committed Sep 16, 2018
1 parent 83a1ff7 commit 7b8ef9b27c8d290c1adb200a7edfe746bec9befc
Showing with 6 additions and 0 deletions.
  1. +6 −0 IMRTP/dose2CERR.m
@@ -51,6 +51,12 @@
end
indexS=planC{end};
W = size(doseNew);
if ismatrix(doseNew) %Single slice
temp = nan(W(1),W(2),3);
temp(:,:,2) = doseNew;
doseNew = temp;
W(3) = 3;
end

%How many old dose distributions?
prevSets = length(planC{indexS.dose});

0 comments on commit 7b8ef9b

Please sign in to comment.