Mercurial > hg > map
comparison multithreshold 1.46/old files/MAPmodel.m @ 29:b51bf546ca3f
physiologyProb
author | Ray Meddis <rmeddis@essex.ac.uk> |
---|---|
date | Fri, 08 Jul 2011 13:48:27 +0100 |
parents | b03ef38fe497 |
children | c2204b18f4a2 |
comparison
equal
deleted
inserted
replaced
28:02aa9826efe0 | 29:b51bf546ca3f |
---|---|
2 | 2 |
3 global experiment stimulusParameters audio withinRuns | 3 global experiment stimulusParameters audio withinRuns |
4 global outerMiddleEarParams DRNLParams AN_IHCsynapseParams | 4 global outerMiddleEarParams DRNLParams AN_IHCsynapseParams |
5 | 5 |
6 savePath=path; | 6 savePath=path; |
7 addpath('..\MAP') | 7 addpath(['..' filesep 'MAP'], ['..' filesep 'utilities']) |
8 modelResponse=[]; | 8 modelResponse=[]; |
9 MacGregorResponse=[]; | 9 MacGregorResponse=[]; |
10 | 10 |
11 % mono only (column vector) | 11 % mono only (column vector) |
12 audio=audio(:,1)'; | 12 audio=audio(:,1)'; |
23 global ICoutput ANdt | 23 global ICoutput ANdt |
24 MAP1_14(audio, 1/method.dt, method.nonlinCF,... | 24 MAP1_14(audio, 1/method.dt, method.nonlinCF,... |
25 MAPparamsName, AN_spikesOrProbability); | 25 MAPparamsName, AN_spikesOrProbability); |
26 | 26 |
27 if showPlotsAndDetails | 27 if showPlotsAndDetails |
28 options.showModelParameters=0; | 28 options.printModelParameters=0; |
29 options.showModelOutput=1; | 29 options.showModelOutput=1; |
30 options.printFiringRates=1; | 30 options.printFiringRates=1; |
31 options.showACF=0; | 31 options.showACF=0; |
32 options.showEfferent=1; | 32 options.showEfferent=1; |
33 UTIL_showMAP(options, paramChanges) | 33 UTIL_showMAP(options) |
34 end | 34 end |
35 | 35 |
36 % No response, probably caused by hitting 'stop' button | 36 % No response, probably caused by hitting 'stop' button |
37 if isempty(ICoutput), return, end | 37 if isempty(ICoutput), return, end |
38 | 38 |