Format p4loop8c.m

This commit is contained in:
2024-07-25 17:15:46 -04:00
parent c5e82aafc4
commit 4382721f9e

View File

@@ -5,39 +5,32 @@ function[p4L4,...
TmpexpScanIntens00,TmpFexpScanSpots00,TmpFexpScanBMtp00,TmpanlZoneRefs00,~,tifFileLstP4,pathname,ImParMat, ... TmpexpScanIntens00,TmpFexpScanSpots00,TmpFexpScanBMtp00,TmpanlZoneRefs00,~,tifFileLstP4,pathname,ImParMat, ...
numRows,numCols,scLst,resDir,expDir, p4L00,TmpexpScanIntens4,TmpFexpScanSpots4,TmpFexpScanBMtp4,TmpanlZoneRefs4, Tmpsbdg00, Tmpsbdg4) numRows,numCols,scLst,resDir,expDir, p4L00,TmpexpScanIntens4,TmpFexpScanSpots4,TmpFexpScanBMtp4,TmpanlZoneRefs4, Tmpsbdg00, Tmpsbdg4)
p4L0=p4L00; p4L0=p4L00;
TmpexpScanIntens0= TmpexpScanIntens00; TmpexpScanIntens0=TmpexpScanIntens00;
TmpFexpScanSpots0= TmpFexpScanSpots00; TmpFexpScanSpots0=TmpFexpScanSpots00;
TmpFexpScanBMtp0= TmpFexpScanBMtp00; TmpFexpScanBMtp0=TmpFexpScanBMtp00;
TmpanlZoneRefs0= TmpanlZoneRefs00; TmpanlZoneRefs0=TmpanlZoneRefs00;
Tmpsbdg0= Tmpsbdg00; Tmpsbdg0= Tmpsbdg00;
%resDir %for debugging
%START PARFOR PARFOR PARFOR PARFOR PARFOR PARFOR PARFOR PARFOR PARFOR PARFOR % for scCount=1:numScans
%************************************************************************************************************************
%---------------Global Parfor Loop-----------------------------------------
%for scCount=1:numScans
if SWsingleSc==1 if SWsingleSc==1
parforArg=0; parforArg=0;
else else
parforArg= inf; parforArg= inf;
end end
%for (scCount=1:numScans)
% for (scCount=1:numScans)
parfor (scCount=1:numScans,parforArg) parfor (scCount=1:numScans,parforArg)
scCount %for debugging scCount % for debugging
p4L0= cell(18,1); p4L0=cell(18,1);
[p4L3,... [p4L3,TmpexpScanIntens3,TmpFexpScanSpots3,TmpFexpScanBMtp3,TmpanlZoneRefs3,Tmpsbdg3]= ...
TmpexpScanIntens3,TmpFexpScanSpots3,TmpFexpScanBMtp3,TmpanlZoneRefs3,Tmpsbdg3]= ...
par4GblFnc8c(parMat,tptLength,numScans,selScanNumLst,SWsingleSc,Fflg,PTmapPos,optCirMask,diaExt,doCircle,cirPixA,cirMask,width, ... par4GblFnc8c(parMat,tptLength,numScans,selScanNumLst,SWsingleSc,Fflg,PTmapPos,optCirMask,diaExt,doCircle,cirPixA,cirMask,width, ...
TmpexpScanIntens0,TmpFexpScanSpots0,TmpFexpScanBMtp0,TmpanlZoneRefs0,scCount,tifFileLstP4,pathname,ImParMat, ... TmpexpScanIntens0,TmpFexpScanSpots0,TmpFexpScanBMtp0,TmpanlZoneRefs0,scCount,tifFileLstP4,pathname,ImParMat, ...
numRows,numCols, scLst,resDir,expDir, p4L0,Tmpsbdg0); numRows,numCols, scLst,resDir,expDir, p4L0,Tmpsbdg0);
p4L4(:,scCount)= p4L3; %(:,scCount); p4L4(:,scCount)=p4L3; % (:,scCount);
TmpexpScanIntens4(scCount)= TmpexpScanIntens3; TmpexpScanIntens4(scCount)=TmpexpScanIntens3;
TmpFexpScanSpots4(scCount)= TmpFexpScanSpots3; TmpFexpScanSpots4(scCount)=TmpFexpScanSpots3;
TmpFexpScanBMtp4(scCount)= TmpFexpScanBMtp3; TmpFexpScanBMtp4(scCount)=TmpFexpScanBMtp3;
TmpanlZoneRefs4(scCount)= TmpanlZoneRefs3; TmpanlZoneRefs4(scCount)=TmpanlZoneRefs3;
Tmpsbdg4(scCount)=Tmpsbdg3;
Tmpsbdg4(scCount)= Tmpsbdg3;
%End of Global Scan loop*******************************************************************************************
%**************************************************************************************************************************
end end
%---------------END OF Global Parfor Loop-----------------------------------------%**************************************************************************************************************************