Mercurial > hg > map
comparison 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 |
comparison
equal
deleted
inserted
replaced
37:771a643d5c29 | 38:c2204b18f4a2 |
---|---|
16 global IHC_cilia_RPParams | 16 global IHC_cilia_RPParams |
17 | 17 |
18 printReportGuide.structures=1; | 18 printReportGuide.structures=1; |
19 printReportGuide.showPsychometric=0; | 19 printReportGuide.showPsychometric=0; |
20 printReportGuide.HorizontalTracks=1; | 20 printReportGuide.HorizontalTracks=1; |
21 | |
21 | 22 |
22 if nargin==0 | 23 if nargin==0 |
23 % print new report | 24 % print new report |
24 printReportGuide.showTracks=experiment.printTracks; | 25 printReportGuide.showTracks=experiment.printTracks; |
25 printReportGuide.fileName=[]; | 26 printReportGuide.fileName=[]; |
178 psychometricFunction(withinRuns.levelsPhaseTwo,... | 179 psychometricFunction(withinRuns.levelsPhaseTwo,... |
179 withinRuns.responsesPhaseTwo, experiment.psyBinWidth); | 180 withinRuns.responsesPhaseTwo, experiment.psyBinWidth); |
180 disp('Psychometric function') | 181 disp('Psychometric function') |
181 fprintf(' level \tfreq\tprob\n') | 182 fprintf(' level \tfreq\tprob\n') |
182 fprintf('%6.0f\t%6.2f\t%6.0f\n',[levelsBinVector; binFrequencies; psy]) | 183 fprintf('%6.0f\t%6.2f\t%6.0f\n',[levelsBinVector; binFrequencies; psy]) |
183 fprintf('\n') | 184 |
184 fprintf('k \t %6.2f\n',logistic.bestK) | 185 switch experiment.threshEstMethod |
185 fprintf('g \t%7.5f\n',rareEvent.bestGain) | 186 % only one value required for level change |
187 case {'MaxLikelihood', 'oneIntervalUpDown'}; | |
188 % fprintf('\n') | |
189 % fprintf('k \t %6.2f\n',logistic.bestK) | |
190 % fprintf('g \t%7.5f\n',rareEvent.bestGain) | |
191 end | |
186 fprintf('\n') | 192 fprintf('\n') |
187 | 193 |
188 end | 194 end |
189 | 195 |
190 fprintf('\nparadigm:\t%s\n ', experiment.paradigm) | 196 fprintf('\nparadigm:\t%s\n ', experiment.paradigm) |