To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

The primary repository for this project is hosted at git://github.com/rmeddis/MAP.git .
This repository is a read-only copy which is updated automatically every hour.

Statistics Download as Zip
| Branch: | Revision:

root / multithreshold 1.46 / paradigms / paradigm_profile.m @ 29:b51bf546ca3f

History | View | Annotate | Download (1.14 KB)

1 28:02aa9826efe0 rmeddis
function paradigm_profile(handles)
2
global stimulusParameters experiment betweenRuns
3
4
paradigm_training(handles) % default
5
6
betweenRuns.variableName1='targetFrequency';
7
betweenRuns.variableList1=[250 500 1000 2000 4000 8000 ];
8
betweenRuns.variableName2='targetDuration';
9
betweenRuns.variableList2=0.016;
10
betweenRuns.randomizeSequence=1; % 'random sequence'
11
12
% delay > masker > gap > target
13
14
15
stimulusParameters.targetType='tone';
16
stimulusParameters.targetPhase='sin';
17 29:b51bf546ca3f rmeddis
stimulusParameters.targetFrequency=[250 500 1000 2000 4000 8000 ];
18 28:02aa9826efe0 rmeddis
stimulusParameters.targetDuration=0.016;
19
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);
20
21
stimulusParameters.rampDuration=0.004;
22
23
experiment.stopCriteria2IFC=[75 3 5];
24
experiment.singleIntervalMaxTrials=[20];
25
26
27
% forced choice window interval
28
stimulusParameters.AFCsilenceDuration=0.5;
29
30
% instructions to user
31
%   single interval up/down no cue
32
stimulusParameters.instructions{1}= [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}];
33
%   single interval up/down with cue
34
stimulusParameters.instructions{2}= [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}];