Who even knows at this point
This commit is contained in:
@@ -136,7 +136,7 @@ Exp(numExps+1).interacPBsel=0;
|
||||
% directory in the uigetfile to load the experiment .mat file.
|
||||
|
||||
try
|
||||
[openExpfile,scansDir] = uigetfile('.mat','Open Experiment folder and data storage .mat file name','MultiSelect','off')
|
||||
[openExpfile,scansDir]=uigetfile('.mat','Open Experiment folder and data storage .mat file name','MultiSelect','off')
|
||||
|
||||
|
||||
load (fullfile(Exp(1).Dexp(1).ExpFoldr,'MasterPlateFiles','MPDMmat.mat'))
|
||||
@@ -180,7 +180,7 @@ try
|
||||
Exp(1).traceN=0; Exp(2).traceN=0; Exp(3).traceN=0; %ZoneRelated
|
||||
|
||||
Exp(1).hOL =[]; Exp(1).hOLb=[];
|
||||
Exp(1).hOLname = {}; Exp(1).hOLexpNm={}; Exp(1).hOLresDir={}
|
||||
Exp(1).hOLname={}; Exp(1).hOLexpNm={}; Exp(1).hOLresDir={}
|
||||
Exp(1).hOLplateNum=[];
|
||||
Exp(1).hOLresDir= {};
|
||||
Exp(1).RFmd1indx=[];
|
||||
@@ -189,7 +189,7 @@ try
|
||||
Exp(1).RFmd2pltN=[];
|
||||
|
||||
Exp(2).hOL =[]; Exp(2).hOLb=[];
|
||||
Exp(2).hOLname = {}; Exp(2).hOLexpNm={}; Exp(2).hOLresDir={};
|
||||
Exp(2).hOLname={}; Exp(2).hOLexpNm={}; Exp(2).hOLresDir={};
|
||||
Exp(2).hOLplateNum=[];
|
||||
Exp(2).hOLresDir= {};
|
||||
Exp(2).RFmd1indx=[];
|
||||
@@ -198,7 +198,7 @@ try
|
||||
Exp(2).RFmd2pltN=[];
|
||||
|
||||
Exp(3).hOL =[]; Exp(3).hOLb=[];
|
||||
Exp(3).hOLname = {}; Exp(3).hOLexpNm={}; Exp(3).hOLresDir={};
|
||||
Exp(3).hOLname={}; Exp(3).hOLexpNm={}; Exp(3).hOLresDir={};
|
||||
Exp(3).hOLplateNum=[];
|
||||
Exp(3).hOLresDir= {};
|
||||
Exp(3).RFmd1indx=[];
|
||||
@@ -274,9 +274,9 @@ try
|
||||
DNLaxes1= handles.DNLaxes1; DNLaxes2= handles.DNLaxes2; DNLaxes3= handles.DNLaxes3;
|
||||
zeroCLn= zeros(1,DMnum);
|
||||
%Exp(expN).expLoadCnt(1)=1; %ZoneRelated
|
||||
Exp(1).hzeroCLn(1) = plot(DNLaxes1,zeroCLn,1:DMnum,'y'); try set(Exp(1).hzeroCLn,'visible','off'); catch ME, end
|
||||
Exp(2).hzeroCLn(1) = plot(DNLaxes2,zeroCLn,1:DMnum,'y'); try set(Exp(2).hzeroCLn,'visible','off'); catch ME, end
|
||||
Exp(3).hzeroCLn(1) = plot(DNLaxes3,zeroCLn,1:DMnum,'y'); try set(Exp(3).hzeroCLn,'visible','off'); catch ME, end
|
||||
Exp(1).hzeroCLn(1)=plot(DNLaxes1,zeroCLn,1:DMnum,'y'); try set(Exp(1).hzeroCLn,'visible','off'); catch ME, end
|
||||
Exp(2).hzeroCLn(1)=plot(DNLaxes2,zeroCLn,1:DMnum,'y'); try set(Exp(2).hzeroCLn,'visible','off'); catch ME, end
|
||||
Exp(3).hzeroCLn(1)=plot(DNLaxes3,zeroCLn,1:DMnum,'y'); try set(Exp(3).hzeroCLn,'visible','off'); catch ME, end
|
||||
Exp(1).expLoadCnt=1;
|
||||
Exp(2).expLoadCnt=1;
|
||||
Exp(3).expLoadCnt=1;
|
||||
@@ -438,7 +438,7 @@ try
|
||||
rf1scN=RF1scanN+d;
|
||||
|
||||
try %if RF1scanN doesn't exist this addition to list will be skipped
|
||||
nonZeroIndx = find(Exp(expN).Dexp(1).scan(rf1scN).plate(1).CFout(1:384,5));
|
||||
nonZeroIndx=find(Exp(expN).Dexp(1).scan(rf1scN).plate(1).CFout(1:384,5));
|
||||
|
||||
if isempty(nonZeroIndx), nonZeroCnt=0; medianIndx= nonZeroIndx;
|
||||
else nonZeroCnt=length(nonZeroIndx);
|
||||
@@ -793,8 +793,8 @@ try
|
||||
for d=1:DMnum
|
||||
medianIndxD=[];
|
||||
NZrfIndxG=[];
|
||||
minG = min(nonzeros(vv(:,d)));
|
||||
maxG = max(nonzeros(vv(:,d)));
|
||||
minG=min(nonzeros(vv(:,d)));
|
||||
maxG=max(nonzeros(vv(:,d)));
|
||||
RFmeanG=mean(nonzeros(vv(:,d)));
|
||||
RFstdG= std(nonzeros(vv(:,d)));
|
||||
NZrfIndxG= find(vv(:,d)); %find(nonzeros(vv(:,d))); WWRONG FOR A WHILE! find(nonzeros(vv(:,d)));
|
||||
|
||||
Reference in New Issue
Block a user