EASY refactor: First attempt
This commit is contained in:
@@ -3,7 +3,7 @@ function[p4L4,...
|
||||
TmpexpScanIntens4,TmpFexpScanSpots4,TmpFexpScanBMtp4,TmpanlZoneRefs4,Tmpsbdg4]= ...
|
||||
p4loop8c(parMat,tptLength,numScans,selScanNumLst,SWsingleSc,Fflg,PTmapPos,optCirMask,diaExt,doCircle,cirPixA,cirMask,width, ...
|
||||
TmpexpScanIntens00,TmpFexpScanSpots00,TmpFexpScanBMtp00,TmpanlZoneRefs00,~,tifFileLstP4,pathname,ImParMat, ...
|
||||
numRows,numCols,scLst,resDir,expDir, p4L00,TmpexpScanIntens4,TmpFexpScanSpots4,TmpFexpScanBMtp4,TmpanlZoneRefs4, Tmpsbdg00, Tmpsbdg4)
|
||||
numRows,numCols,scLst,easyResultsDir,scansDir, p4L00,TmpexpScanIntens4,TmpFexpScanSpots4,TmpFexpScanBMtp4,TmpanlZoneRefs4, Tmpsbdg00, Tmpsbdg4)
|
||||
p4L0=p4L00;
|
||||
TmpexpScanIntens0=TmpexpScanIntens00;
|
||||
TmpFexpScanSpots0=TmpFexpScanSpots00;
|
||||
@@ -15,7 +15,7 @@ Tmpsbdg0= Tmpsbdg00;
|
||||
if SWsingleSc==1
|
||||
parforArg=0;
|
||||
else
|
||||
parforArg= inf;
|
||||
parforArg=inf;
|
||||
end
|
||||
|
||||
% for (scCount=1:numScans)
|
||||
@@ -25,7 +25,7 @@ parfor (scCount=1:numScans,parforArg)
|
||||
[p4L3,TmpexpScanIntens3,TmpFexpScanSpots3,TmpFexpScanBMtp3,TmpanlZoneRefs3,Tmpsbdg3]= ...
|
||||
par4GblFnc8c(parMat,tptLength,numScans,selScanNumLst,SWsingleSc,Fflg,PTmapPos,optCirMask,diaExt,doCircle,cirPixA,cirMask,width, ...
|
||||
TmpexpScanIntens0,TmpFexpScanSpots0,TmpFexpScanBMtp0,TmpanlZoneRefs0,scCount,tifFileLstP4,pathname,ImParMat, ...
|
||||
numRows,numCols, scLst,resDir,expDir, p4L0,Tmpsbdg0);
|
||||
numRows,numCols, scLst,easyResultsDir,scansDir, p4L0,Tmpsbdg0);
|
||||
|
||||
p4L4(:,scCount)=p4L3; % (:,scCount);
|
||||
TmpexpScanIntens4(scCount)=TmpexpScanIntens3;
|
||||
|
||||
Reference in New Issue
Block a user