diff multithreshold 1.46/printReport.m @ 38:c2204b18f4a2 tip

End nov big change
author Ray Meddis <rmeddis@essex.ac.uk>
date Mon, 28 Nov 2011 13:34:28 +0000
parents 161913b595ae
children
line wrap: on
line diff
--- a/multithreshold 1.46/printReport.m	Thu Oct 06 15:43:20 2011 +0100
+++ b/multithreshold 1.46/printReport.m	Mon Nov 28 13:34:28 2011 +0000
@@ -19,6 +19,7 @@
 printReportGuide.showPsychometric=0;
 printReportGuide.HorizontalTracks=1;
 
+
 if nargin==0
     % print new report
     printReportGuide.showTracks=experiment.printTracks;
@@ -180,9 +181,14 @@
     disp('Psychometric function')
     fprintf(' level  \tfreq\tprob\n')
     fprintf('%6.0f\t%6.2f\t%6.0f\n',[levelsBinVector; binFrequencies; psy])
-    fprintf('\n')
-    fprintf('k \t %6.2f\n',logistic.bestK)
-    fprintf('g  \t%7.5f\n',rareEvent.bestGain)
+
+    switch experiment.threshEstMethod
+        % only one value required for level change
+        case {'MaxLikelihood',  'oneIntervalUpDown'};
+%             fprintf('\n')
+%             fprintf('k \t %6.2f\n',logistic.bestK)
+%             fprintf('g  \t%7.5f\n',rareEvent.bestGain)
+    end
     fprintf('\n')
 
 end