Revision 24:a5e4a43c1673 utilities/UTIL_showMAP.m
| utilities/UTIL_showMAP.m | ||
|---|---|---|
| 1 | 1 |
function UTIL_showMAP (options) |
| 2 |
% UTIL_showMAP produces summaries of the output from MAP's mmost recent run |
|
| 3 |
% All MAP outputs are stored in global variables and UTIL_showMAP |
|
| 4 |
% simply assumes that they are in place. |
|
| 5 |
% |
|
| 2 | 6 |
% options |
| 3 |
% options.printModelParameters=1; |
|
| 4 |
% options.showModelOutput=1; |
|
| 5 |
% options.printFiringRates=1; |
|
| 6 |
% options.showACF=1; |
|
| 7 |
% options.showEfferent=1; |
|
| 8 |
% options.surfProbability=0; |
|
| 9 |
% options.fileName=[]; |
|
| 10 |
% options.surfProbability=0; |
|
| 7 |
% options.printModelParameters=1; % print model parameters |
|
| 8 |
% options.showModelOutput=1; % plot all stages output |
|
| 9 |
% options.printFiringRates=1; % mean activity at all stages |
|
| 10 |
% options.showACF=1; % SACF (probabilities only) |
|
| 11 |
% options.showEfferent=1; % plot of efferent activity |
|
| 12 |
% options.surfProbability=0; % HSR (probability) surf plot |
|
| 13 |
% options.fileName=[]; % parameter filename for plot title |
|
| 11 | 14 |
|
| 12 | 15 |
dbstop if warning |
| 13 | 16 |
|
| ... | ... | |
| 27 | 30 |
options=[]; |
| 28 | 31 |
end |
| 29 | 32 |
% defaults (plot staged outputs and print rates only) |
| 30 |
if ~isfield(options,'printModelParameters'),options.printModelParameters=0;end |
|
| 33 |
if ~isfield(options,'printModelParameters') |
|
| 34 |
options.printModelParameters=0; end |
|
| 31 | 35 |
if ~isfield(options,'showModelOutput'),options.showModelOutput=1;end |
| 32 | 36 |
if ~isfield(options,'printFiringRates'),options.printFiringRates=1;end |
| 33 | 37 |
if ~isfield(options,'showACF'),options.showACF=0;end |
Also available in: Unified diff