Revision 26:b03ef38fe497 testPrograms/demoTwisterProbability.m
| testPrograms/demoTwisterProbability.m | ||
|---|---|---|
| 63 | 63 |
%% run the model |
| 64 | 64 |
tic |
| 65 | 65 |
|
| 66 |
fprintf('\n')
|
|
| 67 |
disp(['Signal duration= ' num2str(length(inputSignal)/sampleRate)]) |
|
| 68 |
disp([num2str(numChannels) ' channel model']) |
|
| 69 |
disp('Computing ...')
|
|
| 70 |
|
|
| 66 | 71 |
MAP1_14(inputSignal, sampleRate, BFlist, ... |
| 67 | 72 |
MAPparamsName, AN_spikesOrProbability, paramChanges); |
| 68 | 73 |
|
| 69 |
toc |
|
| 70 | 74 |
|
| 71 | 75 |
% the model run is now complete. Now display the results |
| 72 |
UTIL_showMAP(showMapOptions) |
|
| 76 |
UTIL_showMAP(showMapOptions, paramChanges)
|
|
| 73 | 77 |
|
| 74 | 78 |
toc |
| 75 | 79 |
path(restorePath) |
| 76 | 80 |
|
| 77 | 81 |
|
| 82 |
|
|
| 78 | 83 |
function inputSignal=createMultiTone(sampleRate, toneFrequency, ... |
| 79 | 84 |
leveldBSPL, duration, rampDuration) |
| 80 | 85 |
% Create pure tone stimulus |
Also available in: Unified diff