diff multithreshold 1.46/subjGUI_MT.m @ 22:45f28c49461e master

removing duplicate changes
author Ray Meddis <rmeddis@essex.ac.uk>
date Mon, 13 Jun 2011 18:21:05 +0100
parents fafe69c43108
children 6cce421531e2
line wrap: on
line diff
--- a/multithreshold 1.46/subjGUI_MT.m	Mon Jun 13 18:13:29 2011 +0100
+++ b/multithreshold 1.46/subjGUI_MT.m	Mon Jun 13 18:21:05 2011 +0100
@@ -244,8 +244,6 @@
 betweenRuns.catchTrials=[];
 betweenRuns.timesOfFirstReversals=[];
 betweenRuns.bestThresholdTracks=[];
-betweenRuns.bestThresholdMeanTracks=[];
-betweenRuns.bestThresholdMedianTracks=[];
 betweenRuns.levelTracks=[];
 betweenRuns.responseTracks=[];
 betweenRuns.slopeKTracks=[];
@@ -1260,7 +1258,7 @@
             switch experiment.threshEstMethod
                 case {'MaxLikelihood', 'oneIntervalUpDown'}
                     % last value in the list
-                    threshold=withinRuns.meanEstTrack(end);
+%                     threshold=withinRuns.meanEstTrack(end);
                     threshold=withinRuns.thresholdEstimateTrack(end);
                     stdev=NaN;
                     
@@ -1302,23 +1300,13 @@
 % add variable length tracks to cell arrays
 if withinRuns.beginningOfPhase2>0
     betweenRuns.bestThresholdTracks{length(betweenRuns.thresholds)}=...
-        withinRuns.thresholdEstimateTrack;
-    betweenRuns.bestThresholdMeanTracks...
-        {length(betweenRuns.thresholds_mean)}=...
-        withinRuns.thresholdEstimateTrack;
-    betweenRuns.bestThresholdMedianTracks...
-        {length(betweenRuns.thresholds_median)}=...
-        withinRuns.thresholdEstimateTrack;
-    
+        withinRuns.thresholdEstimateTrack;   
     betweenRuns.levelTracks{length(betweenRuns.thresholds)}=...
         withinRuns.levelList(withinRuns.beginningOfPhase2:end);
     betweenRuns.responseTracks{length(betweenRuns.thresholds)}=...
         withinRuns.responseList(withinRuns.beginningOfPhase2:end);
 else
     betweenRuns.bestThresholdTracks{length(betweenRuns.thresholds)}=[];
-    betweenRuns.bestThresholdMeanTracks{length(betweenRuns.thresholds)}=[];
-    betweenRuns.bestThresholdMedianTracks{length(betweenRuns.thresholds)}=...
-        [];
     betweenRuns.levelTracks{length(betweenRuns.thresholds)}=[];
     betweenRuns.responseTracks{length(betweenRuns.thresholds)}=[];
 end